java.sql.SQLException: No suitable driver found for jdbc:mysql@localhost:3306:emp
Connection myconn = DriverManager.getConnection("jdbc:mysql@localhost:3306:em
我正在尝试使用这个简单的代码连接到mysql数据库。") ; con = DriverManager.getConnection("jdbc:mysql://localhost我的数据库和netbeans上的代码/连接都没有问题。我得到的StackTrace是-
the java.sql.SQLException: No suitable driver fou