示例为:eclipse导入mysql-connector-java-5.1.39-bin.jar包
- 下载mysql-connector-java-5.1.39-bin.jar包
- 在eclipse中需要导入这个包的项目上面右击鼠标
propertise->java build path->libraries->add external jars
选择之前下载的jar包的路径,点击Apply 或OK
示例为:eclipse导入mysql-connector-java-5.1.39-bin.jar包