Results 1 to 2 of 2
- 08-31-2010, 11:42 PM #1
Member
- Join Date
- Aug 2010
- Posts
- 3
- Rep Power
- 0
No suitable driver found exception error
Hello what i am trying to do is connect to my database that i made on my friends web server but i keep getting this error:
No suitable driver found for jdbc:msql://96.30.49.236:2082/felice_test
Here is my code:
Java Code:import java.sql.*; public class Engine { /** * @param args */ public static void main(String[] args){ try { Class.forName("com.mysql.jdbc.Driver").newInstance(); String url = "jdbc:msql://96.30.49.236:2082/felice_test"; Connection conn = DriverManager.getConnection(url,"felice_root","root"); } catch (Exception e) { System.err.println("Got an exception! "); System.err.println(e.getMessage()); } } }
- 09-01-2010, 12:03 AM #2
Similar Threads
-
Class not found Exception
By surendra in forum Java ServletReplies: 8Last Post: 06-09-2011, 12:52 PM -
java.sql.SQLException: No suitable driver
By Heather in forum JDBCReplies: 6Last Post: 09-01-2010, 11:29 AM -
No suitable driver found
By geekchick in forum New To JavaReplies: 2Last Post: 08-25-2010, 12:12 AM -
java.sql.SQLException: No suitable driver .... when using Custom ClassLoader
By tomer1960 in forum Advanced JavaReplies: 13Last Post: 03-16-2009, 09:37 PM -
class not found exception while using IKVM to create exe for c#
By manjunath k reddy in forum New To JavaReplies: 0Last Post: 02-21-2009, 06:05 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks