java.sql.SQLException: No suitable driver found for jdbc:mysql:@myHostName.com:3306:class

Coderanch | Raymond Gillespie | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Help getting MYSQL JDBC to work

    Coderanch | 3 years ago | Raymond Gillespie
    java.sql.SQLException: No suitable driver found for jdbc:mysql:@myHostName.com:3306:class
  2. 0

    Ucanaccess with java servlet program

    Stack Overflow | 3 years ago | user3808015
    java.sql.SQLException: No suitable driver found for jdbc:ucanaccess://C://Users//Satish Aiyappa//Documents//test.accdb
  3. 0

    Connecting my applet to a MS Access Database on my Local Machine

    Oracle Community | 1 decade ago | 843807
    java.sql.SQLException: No suitable driver
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Class missing, no suitable driver

    GitHub | 2 years ago | TekCastElemental
    java.sql.SQLException: No suitable driver found for jdbc:derby:AccountDatabase
  6. 0

    Connectting to MySQL using Mark Mathews' org.gjt.mm.mysql.Driver

    Google Groups | 2 decades ago | Andrew U
    java.sql.SQLException: No suitable driver
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.sql.SQLException

    No suitable driver found for jdbc:mysql:@myHostName.com:3306:class

    at java.sql.DriverManager.getConnection()
  2. Java RT
    DriverManager.getConnection
    1. java.sql.DriverManager.getConnection(Unknown Source)
    2. java.sql.DriverManager.getConnection(Unknown Source)
    2 frames
  3. fmohsendb.javaclassesdb
    DBClass.dbConnect
    1. fmohsendb.javaclassesdb.DBClass.dbConnect(DBClass.java:53)
    1 frame
  4. fmohsendb.javaservletsdb
    testdbconn.doGet
    1. fmohsendb.javaservletsdb.testdbconn.doGet(testdbconn.java:41)
    1 frame
  5. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
    2 frames
  6. Glassfish Core
    CoyoteAdapter.service
    1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
    2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
    3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:240)
    4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:164)
    5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:462)
    6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
    7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
    8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:562)
    9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
    10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:395)
    10 frames
  7. Grizzly HTTP
    JIoEndpoint$SocketProcessor.run
    1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:250)
    2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:188)
    3. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:166)
    4. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
    4 frames
  8. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    3. java.lang.Thread.run(Unknown Source)
    3 frames