报错信息:java.sql.SQLException: Access denied for user Administrator@localhost (using password: YES) 严重: create connection SQLException, url: jdbc:mysql://localhost:3306/db2?&useSSL=false&serverTimezone=UTC, errorCode 1045, state 28000 java.sql.SQLException: Access denied for user Administrator@localhost (using password: YES)at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.j...
自己在写一个整合例子的时候发现各种文件配置好之后数据库无法连接,一直报错拒绝访问 ... Caused by: java.sql.SQLException: Access denied for user ‘xxx‘@‘localhost‘ (using password: YES)at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129)at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.transla...