问题描述: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包问题解决。
本文探讨了DataX在将数据从MySQL迁移到PostgreSQL时遇到的连接错误,重点在于pg_hba.conf文件配置和驱动版本问题。解决方法包括检查PostgreSQL版本及DataX插件中相应驱动的更新。
3338

被折叠的 条评论
为什么被折叠?



