Update MySQL driver class name

+ implement fallback to the legacy driver
This commit is contained in:
Gabriele C
2021-08-21 22:54:36 +02:00
parent d969d314b3
commit 18c31e3a42
4 changed files with 17 additions and 6 deletions
@@ -47,7 +47,7 @@ public final class DatabaseSettings implements SettingsHolder {
@Comment("Driver Name of the MySQL database")
public static final Property<String> MYSQL_DRIVER_CLASS_NAME =
newProperty("DataSource.mySQLDriverClassName", "com.mysql.jdbc.Driver");
newProperty("DataSource.mySQLDriverClassName", "com.mysql.cj.jdbc.Driver");
@Comment("Database Name, use with converters or as SQLITE database name")
public static final Property<String> MYSQL_DATABASE =