編碼的世界 / 優質文選 / 歷史

mysql-connector-java與Mysql、Java的對應版本


2022年7月22日
-   

mysql-connector-java與Mysql對應版本: 
                                                               Summary of Connector/J Versions
Connector/J versionDriver TypeJDBC versionMySQL Server versionStatus
5.143.0, 4.0, 4.1, 4.25.6*, 5.7*, 8.0*General availability
8.044.25.6, 5.7, 8.0General 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 versionJRE SupportedJDK required for compiling source code
5.11.5.x, 1.6.x, 1.7.x*, 1.8.x**1.5.x and 1.8.x ***
8.01.8.x1.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

熱門文章