Kryune Posted March 25, 2011 Posted March 25, 2011 Well i am a new user and i have registered for this awesome host (uber bandwith) and i need to connect my java application to my mysql database i have this ublic class MysqlManager { /** MySQL Connection */ public static Connection conn = null; public static Statement statement = null; public static ResultSet results = null; public static String MySQLDataBase = "krome_hs"; // mysql database public static String MySQLURL = "refrexis.heliohost.org"; //my website for mysql connection public static String MySQLUser = "krome_krome"; // mysql username public static String MySQLPassword = "*******"; // password for acount i wanted to ask if the above format is correct. Also i have an account qued* message on my account can i still remotely connect to the database? thanks in advance /kryune
Wizard Posted March 25, 2011 Posted March 25, 2011 MySQLURL should be stevie.heliohost.org I believe, and you probably can, provided you've already made the user/database in cPanel.
jje Posted March 25, 2011 Posted March 25, 2011 Use localhost if connecting locally. Use stevie.heliohost.org as Wizard said if you are connecting remotely. Remember to setup 'Remote SQL' via cPanel homepage.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now