Advertisement
Guest User

ehour jdbc issue

a guest
Oct 27th, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. In the config file of the application:
  2. ehour.database=mysql
  3. ehour.database.driver=com.mysql.jdbc.Driver
  4. ehour.database.url=jdbc:mysql://server:3306/ehour
  5. ehour.database.username="User"
  6. ehour.database.password="Pass"
  7.  
  8. In the log:
  9. 10-27@10:53:14 WARN com.mchange.v2.resourcepool.BasicResourcePool - com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@656bc891 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:
  10. java.sql.SQLException: Access denied for user '"User"'@'10.0.0.21' (using password: YES)
  11. at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996)
  12. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
  13. at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement