# cat /var/log/openfire/error.log 2015.04.18 13:09:39 org.jivesoftware.util.log.util.CommonsLogFactory - Prototype java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1084) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:926) at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1748) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1288) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2506) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2539) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2321) at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:832) at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:417) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:187) at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39) at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159) at org.logicalcobwebs.proxool.Prototyper.sweep(Prototyper.java:102) at org.logicalcobwebs.proxool.PrototyperThread.run(PrototyperThread.java:44) 2015.04.18 13:09:39 org.jivesoftware.database.DbConnectionManager - Access denied for user 'openfire'@'localhost' (using password: YES) java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1084) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4232) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4164) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:926) at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1748) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1288) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2506) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2539) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2321) at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:832) at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:46) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:409) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:417) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:344) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:187) at org.logicalcobwebs.proxool.DefaultConnectionBuilder.buildConnection(DefaultConnectionBuilder.java:39) at org.logicalcobwebs.proxool.Prototyper.buildConnection(Prototyper.java:159) at org.logicalcobwebs.proxool.ConnectionPool.getConnection(ConnectionPool.java:211) at org.logicalcobwebs.proxool.ProxoolDriver.connect(ProxoolDriver.java:89) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:187) at org.jivesoftware.database.DefaultConnectionProvider.getConnection(DefaultConnectionProvider.java:86) at org.jivesoftware.database.DbConnectionManager.setConnectionProvider(DbConnectionManager.java:616) at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:100) at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:345) at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:88) at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:66) at org.jivesoftware.util.JiveGlobals.getProperty(JiveGlobals.java:567) at org.jivesoftware.util.cache.CacheFactory.(CacheFactory.java:94) at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:360) at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:464) at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:197) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58) 2015.04.18 13:09:42 org.jivesoftware.util.JiveProperties - ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:151) at org.jivesoftware.util.JiveProperties.loadProperties(JiveProperties.java:345) at org.jivesoftware.util.JiveProperties.init(JiveProperties.java:88) at org.jivesoftware.util.JiveProperties.getInstance(JiveProperties.java:66) at org.jivesoftware.util.JiveGlobals.getProperty(JiveGlobals.java:567) at org.jivesoftware.util.cache.CacheFactory.(CacheFactory.java:94) at org.jivesoftware.openfire.XMPPServer.initialize(XMPPServer.java:360) at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:464) at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:197) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58) 2015.04.18 13:09:45 org.jivesoftware.openfire.XMPPServer - Database could not be accessed java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:151) at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:749) at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:472) at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:197) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58) 2015.04.18 13:09:45 org.jivesoftware.openfire.XMPPServer - java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) java.lang.IllegalArgumentException: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:759) at org.jivesoftware.openfire.XMPPServer.start(XMPPServer.java:472) at org.jivesoftware.openfire.XMPPServer.(XMPPServer.java:197) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at java.lang.Class.newInstance(Class.java:379) at org.jivesoftware.openfire.starter.ServerStarter.start(ServerStarter.java:113) at org.jivesoftware.openfire.starter.ServerStarter.main(ServerStarter.java:58) Caused by: java.sql.SQLException: ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception from the last attempt is as follows: java.sql.SQLException: Access denied for user 'openfire'@'localhost' (using password: YES) at org.jivesoftware.database.DbConnectionManager.getConnection(DbConnectionManager.java:151) at org.jivesoftware.openfire.XMPPServer.verifyDataSource(XMPPServer.java:749) ... 9 more