mysql-connector-java与Mysql对应版本:
Summary of Connector/J Versions
Connector/J version | Driver Type | JDBC version | MySQL Server version | Status |
---|---|---|---|---|
5.1 | 4 | 3.0, 4.0, 4.1, 4.2 | 5.6*, 5.7*, 8.0* | General availability |
8.0 | 4 | 4.2 | 5.6, 5.7, 8.0 | General availability. Recommended version |
-
* MySQL Connector/J 8.0 is highly recommended for use with MySQL Server 8.0, 5.7, and 5.6. Please upgrade to MySQL Connector/J 8.0.
-
官方更推荐MySQL5.6以上使用connector/j 8.0
-
mysql-connector-java与Java对应版本:
Summary of Java Versions Required by Connector/J
Connector/J version | JRE Supported | JDK required for compiling source code |
---|---|---|
5.1 | 1.5.x, 1.6.x, 1.7.x*, 1.8.x** | 1.5.x and 1.8.x *** |
8.0 | 1.8.x | 1.8.x |
*JRE 1.7 support requires Connector/J 5.1.21 and higher.
JRE 1.7 需要connector/J 5.1.21 以上
附:
jdbc下载地址:https://repo1.maven.org/maven2/mysql/mysql-connector-java/
资料来源于官网:https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-versions.html
今天的文章java和mysql类型对应_java -version分享到此就结束了,感谢您的阅读,如果确实帮到您,您可以动动手指转发给其他人。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/58594.html