Jump to content

Recommended Posts

Posted

I have created a java web application on my pc and trying to access mysql database. But it isn't connecting.

I grant mysql remote access %

used servername: tommy.heliohost.org

username and password if my heliohost account

 

 

I have used this line of code for mysql connection, but it isn't connecting..

 

Connection = DriverManager.getConnection("jdbc:mysql://tommy.heliohost.org:3306/<databse_name>", "<user>", "<password>");

 

 

 

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...