mysql database is not connecting remotely..

  • Posted June 18, 2014

Current actual abc mysql database is running on B Server, we have build this server because abc database on old A mysql Server is not working so we have build this DB on this new Server B.

client is asking they want to run their applications in A server. Now all their applications are in B

Now i have take sqldump from server b and imported to A…

i asked them to TEST from A now i got this error

We are getting the below error.

Can you please check if there is any problem with firewall. <pre> at at … 112 more Caused by: java.sql.SQLException: Access denied for user ‘hqadmin’@‘’ (using password: YES) at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.SQLError.createSQLException( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.checkErrorPacket( at com.mysql.jdbc.MysqlIO.secureAuth411( at com.mysql.jdbc.MysqlIO.doHandshake( at com.mysql.jdbc.ConnectionImpl.createNewIO( at com.mysql.jdbc.ConnectionImpl.<init>( at com.mysql.jdbc.JDBC4Connection.<init>( at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( at java.lang.reflect.Constructor.newInstance( at com.mysql.jdbc.Util.handleNewInstance( at com.mysql.jdbc.ConnectionImpl.getInstance( at com.mysql.jdbc.NonRegisteringDriver.connect( at org.apache.tomcat.jdbc.pool.PooledConnection.connectUsingDriver( </pre> Anybody can help?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Remote access of MySQL is disabled by default

You can follow this article to enable remote access.