Results 1 to 2 of 2
  1. #1
    Crazy Caveman is offline Member
    Join Date
    Aug 2010
    Rep Power

    Default 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://

    Here is my code:
    Java Code:
    import java.sql.*;
    public class Engine {
    	 * @param args
    	public static void main(String[] args){
    	      String url = "jdbc:msql://"; 
    	      Connection conn = DriverManager.getConnection(url,"felice_root","root");  
    	    catch (Exception e)
    	      System.err.println("Got an exception! "); 

  2. #2
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Eastern Florida
    Rep Power


    Why do you think the URL you show will provide a suitable driver?

Similar Threads

  1. Class not found Exception
    By surendra in forum Java Servlet
    Replies: 8
    Last Post: 06-09-2011, 12:52 PM
  2. Replies: 6
    Last Post: 09-01-2010, 11:29 AM
  3. No suitable driver found
    By geekchick in forum New To Java
    Replies: 2
    Last Post: 08-25-2010, 12:12 AM
  4. Replies: 13
    Last Post: 03-16-2009, 10:37 PM
  5. class not found exception while using IKVM to create exe for c#
    By manjunath k reddy in forum New To Java
    Replies: 0
    Last Post: 02-21-2009, 07:05 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts