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)?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...