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.

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