首页 > 代码库 > java.sql.SQLException: Access denied for user 'root'@'localhost' (using password:YES)

java.sql.SQLException: Access denied for user 'root'@'localhost' (using password:YES)

各种错误一大堆啊,走了一个又来一个,继续吧

java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password
: YES)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:946)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885)
        at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:3421)
        at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1247)