MySQL DB connection in Java
I'm currently writing a java program that will access my database hosted by godaddy.com. I have the correct MySQL driver for it to work in java but I can't get the connection to work. This is what I was told to use:
and this is what im using:
I keep getting a connection timeout every time I run the program. I also send in user name and password. (DriverManager.getConnection(url,username,password ). Anyone have any ideas?
|All times are GMT +5.5. The time now is 08:49.|