Caused by: java.sql.SQLException: Access denied for user 'root'@'192.168.6.131' (using password: YES...

进入 mysql   ;

 use mysql;

然后 执行

GRANT ALL PRIVILEGES ON *.* TO root@"你.的.端.口" IDENTIFIED BY "你的密码" WITH GRANT OPTION;

FLUSH PRIVILEGES;

 

然后成功

 

转载于:https://www.cnblogs.com/Cdzdyhe/p/10214358.html

你可能感兴趣的:(Caused by: java.sql.SQLException: Access denied for user 'root'@'192.168.6.131' (using password: YES...)