0
我一直在嘗試安裝新版本的Sonar,但是在此之後無法工作(由於數據庫遷移出現table_lock錯誤),我已經參考了原始版本2.11。現在當我啓動tomcat時,我得到了這個異常(附件)。我一直在更改my.cnf,並且有些事情可能已被重置。Sonar SQLException啓動tomcat時
在catalina.out的日誌中我得到這個錯誤:
... 42 common frames omitted
Caused by: java.sql.SQLException: Access denied for user 'sonar'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1075) [mysql-connector-java-5.1.13.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3566) [mysql-connector-java-5.1.13.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3498) [mysql-connector-java-5.1.13.jar:na]
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:919) [mysql-connector-java-5.1.13.jar:na]
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4004) [mysql-connector-java-5.1.13.jar:na]