截至2020.6.15:mysql-connector-java与mysql版本的对应
从百度上搜出来的文章都是几年前的写的,所以记录一下mysql8以后的版本对应。
Connector/J version | JDBC version | MySQL Server version | JRE Required | JDK Required for Compilation | Status |
---|---|---|---|---|---|
8.0 | 4.2 | 5.6, 5.7, 8.0 | JRE 8 or higher | JDK 8.0 or higher | General availability. Recommended version. |
5.1 | 3.0, 4.0, 4.1, 4.2 | 5.6, 5.7, 8.0 | JRE 5 or higher | JDK 5.0 AND JDK 8.0 or higher | General availability |
官方文档地址:https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-versions.html