raulc Posted August 22, 2010 Posted August 22, 2010 Hello, I have a problem when I try to connect to my mysql DB in Java. In my local server this code works OK but in heliohost it don't work. Class.forName("com.mysql.jdbc.Driver"); con = DriverManager.getConnection( "jdbc:mysql:http://www.heliohost.org:2082/db","user","pass"); That is the error: java.sql.SQLException: No suitable driver found for jdbc:mysql:http://www.heliohost.org:2082/ can I access to my db in heliohost.org with JDBC ? how can I? Thanks.
Wizard Posted August 22, 2010 Posted August 22, 2010 This support request is being escalated to our root admin.
rvt Posted August 22, 2010 Posted August 22, 2010 Well, HelioHost doesn't have Java so that code wouldn't work, would it? And the JDBC, I'm pretty sure, is a problem on your end. I remember having this issue when coding for Android that they didn't build JDBC in to the framework. I think some Googling and installing the JDBC drivers to your local machine should fix your problem there.
Recommended Posts