Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver") (#2262)

* Specify the Driver Class Name ("com.mysql.cj.jdbc.Driver")

TODO: Configurable Driver Class Name

* Update DatabaseSettings.java

* Update MySQL.java
This commit is contained in:
MacacoLew
2021-03-13 21:46:17 -04:00
committed by GitHub
parent f6392d2d5c
commit f2bdaa0454
2 changed files with 9 additions and 0 deletions
@@ -44,6 +44,10 @@ public final class DatabaseSettings implements SettingsHolder {
@Comment("Password to connect to the MySQL database")
public static final Property<String> MYSQL_PASSWORD =
newProperty("DataSource.mySQLPassword", "12345");
@Comment("Driver Name of the MySQL database")
public static final Property<String> MYSQL_DRIVER_CLASS_NAME =
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 =