Jump to content

Recommended Posts

Posted

Hi I Want To Know What is the data base server Name of my sql on heliohost.

 

i want to connect my jsp file with my sql,

What to write at

Connection connection = DriverManager.getConnection("jdbc:mysql://127.0.0.1/" + mysql_database,mysql_username,mysql_password)

 

what is databse server name here. to write at place of mysql://127.0.0.1.

Posted

If you connecting locally you can use localhost:3306,

if you are connecting remotely then first you need to enable Remote MYSQL and then use :-

stevie.heliohost.org:3306 if you are on stevie

johnny.heliohost.org:3306 if you are on johhny

 

I hope this is what you were looking for.

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