Difference between MySQL Connector/J 5.1 and MySQL Connector/J 8.0
Summary of Connector/J Versions
Connector/J version | JDBC version | MySQL Server version | JRE Supported | JDK Required for Compilation | Status |
---|---|---|---|---|---|
8.0 | 4.2 | 5.5, 5.6, 5.7, 8.0 | 1.8.x | 1.8.x | General availability. Recommended version. |
5.1 | 3.0, 4.0, 4.1, 4.2 | 5.5, 5.6*, 5.7*, 8.0* | 1.5.x, 1.6.x, 1.7.x, 1.8.x* | 1.5.x and 1.8.x | General availability |
Difference ClassName
MySQL Connector/J 5.1
package name : java.sql (java.sql.*)
class name : com.mysql.jdbc.Driver
MySQL Connector/J 8.0
package name : java.sql (java.sql.*)
class name : com.mysql.cj.jdbc.Driver