Jump to content

Recommended Posts

Posted

Hi,

 

I have deployed my web application with the JDBC url like: jdbc:mysql://localhost:3306/<<db-name>>?useSSL=true and mentioned my username and password as added in the phpMyAdmin interface, but still not able to access my DB. Anything I am missing here. The servlet will pick this JDBC connection from server-side, thats why I am mentioning as localhost only.

 

Regards,

Bhagyaraj

Posted

Remove the useSSL=true. We don't support ssl connections to MySQL.

 

Also, I'm assuming you've made sure to assign the user to the database in cpanel (a lot of users miss that step)?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...