ERROR manager.SqlManager: Error executing statement: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times.

今天在使用sqoop将hive数据库到如MySQL时遇到了这个问题并解决。

解决办法:使用了8.x版本的MySQL连接驱动。

之后遇到了内存不足问题,更改内存后,顺利完成。

posted @ 2024-09-05 23:59  a_true  阅读(154)  评论(0)    收藏  举报