Skip to content

Commit 2b8c598

Browse files
committed
Updated MySQL driver from legacy com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource to modern com.mysql.cj.jdbc.MysqlConnectionPoolDataSource in the Database class
1 parent 78226cc commit 2b8c598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javaxt/sql/Database.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ else if (driver.equals("postgresql")){ //pgsql
641641
}
642642
else if (driver.equals("mysql")){
643643

644-
className = ("com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource");
644+
className = ("com.mysql.cj.jdbc.MysqlConnectionPoolDataSource");
645645

646646
methods.put("setDatabaseName", name);
647647
methods.put("setServerName", host);

0 commit comments

Comments
 (0)