mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix: add new class load path
This commit is contained in:
@@ -389,6 +389,9 @@ public class MySqlUtils {
|
||||
class_connectionImpl = Utils.loadClass("com.mysql.jdbc.MySQLConnection");
|
||||
if (class_connectionImpl == null) {
|
||||
class_connectionImpl = Utils.loadClass("com.mysql.cj.MysqlConnection");
|
||||
if (class_connectionImpl == null) {
|
||||
class_connectionImpl = Utils.loadClass("com.mysql.cj.api.MysqlConnection");
|
||||
}
|
||||
if (class_connectionImpl != null) {
|
||||
mysqlJdbcVersion6 = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user