用maven下吧!很好的管理工具,配置一下,就自动下载了
mysql的配置是
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>5.1.9</version>
</dependency>
或者从这儿下
https://repository.sonatype.org/content/groups/public/mysql/mysql-connector-java/l
2.在mysql 的官方网站上找 Connector/J 关键字,然后点击download 就能下载到mysql 的jdbc支持包
Connector/J
(Current Generally Available Release: 5.1.21)Standardized database driver for Java platforms and development.
Download
http://www.mysql.com/downloads/connector/j/5.1.html 到这里去下,点DOWNLOAD,记得是点后缀是zip那个,mysql-connector-java-5.1.22.zip。欢迎分享,转载请注明来源:内存溢出
评论列表(0条)