Using MySQL ODBC 5.3
Unicode Driver how to connect java and odbc? I am using Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")
and getting ClassNotFoundException
how to resolve this?
You can get the java connector for MySQL from here http://dev.mysql.com/downloads/connector/j . and then load it as Class.forName("com.mysql.jdbc.Driver");
将jar文件添加到构建路径中的项目中,然后将文件复制到WEB-INF / lib目录中
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.