mysql database is not connecting remotely..

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

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Remote access of MySQL is disabled by default

You can follow this article to enable remote access.