1、修改Maven的Pom文件的MySQL版本为8.0.25
2、全文替换“com.mysql.jdbc.Driver”为“com.mysql.cj.jdbc.Driver”
3、 全文替换“convertToNull”为“CONVERT_TO_NULL”
4、重新编译打包
mvn -U clean package assembly:assembly -Dmaven.test.skip=true
5、打包部署
替换文件
writer:
/datax/plugin/writer/mysqlwriter/mysqlwriter-0.0.1-SNAPSHOT.jar
/datax/plugin/writer/mysqlwriter/lib/mysql-connector-java-8.0.25.jar
(同理,替换reader和writer是一样)