MySQL的JDBC驱动安装JDBC驱动:解压缩mysql-connector-java-3.1.10.zip将要使用的是mysql-connector-java-3.1.10-bin-g.jar和mysql-connector-java-3.1.10-bin.jar配置在C:\ProgramFiles\Java目录下建立mysqlforjdbc子目录,进入该目录将mysql-connector-java-3.1.10-bin.jar到该目录下进入C:\ProgramFiles\Java\jdk1.5.0_04\lib目录将mysql-connector-java-3.1.10