pankaj1 Posted May 9, 2014 Posted May 9, 2014 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 atConnection 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. Quote
yashrs Posted May 9, 2014 Posted May 9, 2014 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 steviejohnny.heliohost.org:3306 if you are on johhny I hope this is what you were looking for. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.