欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

使用DataX将mysql中做数据导出时 提示 java.sql.SQLException: Could not retrieve transation read-only status server

发布时间:2023/12/8 49 豆豆
生活随笔 收集整理的这篇文章主要介绍了 使用DataX将mysql中做数据导出时 提示 java.sql.SQLException: Could not retrieve transation read-only status server 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

原因是我的数据库是8.0以上版本,但是datax本身提供的jar包是5.1版本,将datax/plugins目录下的reader/writer中的mysqlreader/mysqlwriter的lib目录下的mysql-jar替换为8.0以上版本,并将连接mysql驱动的名称由com.mysql.jdbc.Driver改为com.mysql.cj.jdbc.Driver即可,仅供参考。

总结

以上是生活随笔为你收集整理的使用DataX将mysql中做数据导出时 提示 java.sql.SQLException: Could not retrieve transation read-only status server的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。