springboot中遇到的报错
2021-01-22 19:13
标签:translate nec use rac character jdbc lib exce app springboot中遇到的报错 标签:translate nec use rac character jdbc lib exce app 原文地址:https://www.cnblogs.com/activestruggle/p/12888412.html2020-05-14 14:19:56.650 ERROR 6756 --- [eate-1937171706] com.alibaba.druid.pool.DruidDataSource : create connection SQLException, url: jdbc:mysql://localhost:3306/springboot?characterEncoding=utf8&useSSL=false&serverTimezone=GMT%2B8&nullCatalogMeansCurrent=true, errorCode 1045, state 28000
java.sql.SQLException: Access denied for user ‘root‘@‘localhost‘ (using password: YES)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:127) ~[mysql-connector-java-8.0.11.jar:8.0.11]
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:95) ~[mysql-connector-java-8.0.11.jar:8.0.11]
at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) ~[mysql-connector-java-8.0.11.jar:8.0.11]
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:862) ~[mysql-connector-java-8.0.11.jar:8.0.11]
at com.mysql.cj.jdbc.ConnectionImpl.
上一篇:Java-int 中加下划线
下一篇:Python中的抽象基类