Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

no suitable driver found for jdbc:mysql

Connection con = null;
try {
    //registering the jdbc driver here, your string to use 
    //here depends on what driver you are using.
    Class.forName("something.jdbc.driver.YourFubarDriver");   
    con = DriverManager.getConnection("jdbc:apache:commons:dbcp:test");
} catch (SQLException e) {
    throw new RuntimeException(e);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #suitable #driver
ADD COMMENT
Topic
Name
6+8 =