问题描述:datax同步mysql数据到postgresql报连接错误,实际用navicat连接postgresql能成功;
异常问题如下

The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver

解决:检查postgresql版本和datax(/datax/plugin/writer/postgresqlwriter/libs)目录下链接postgresql驱动jar包版本是否太低,替换对应高版本jar包问题解决。

Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐