我把localhost改为127.0.0.1后报错如下:--->Attempt (1 of 5) failed to create new connections set at startup:
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...
--->Attempt (2 of 5) failed to create new connections set at startup:
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...
--->Attempt (3 of 5) failed to create new connections set at startup:
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...
--->Attempt (4 of 5) failed to create new connections set at startup:
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...All attempts at connecting to Database exhausted
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...
--->Attempt (2 of 5) failed to create new connections set at startup:
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...
--->Attempt (3 of 5) failed to create new connections set at startup:
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...
--->Attempt (4 of 5) failed to create new connections set at startup:
java.sql.SQLException: Data source rejected establishment of connection, message from server: "Host 'down2mobile' is not allowed to connect to this MySQL server"
Will try again in 10 seconds...All attempts at connecting to Database exhausted
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货