Skip to content
Update MySQL Errors authored by Ruan's avatar Ruan
...@@ -128,14 +128,14 @@ Workaround 1: Downgrade the MySQL driver. ...@@ -128,14 +128,14 @@ Workaround 1: Downgrade the MySQL driver.
In config.yml, modify the `drivers` section. It should look like this after modification: In config.yml, modify the `drivers` section. It should look like this after modification:
``` ```
drivers: drivers:
- version:7 - version:8
- 'mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/{}/mysql-connector-java-{}.jar:5.1.38' - 'mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/{}/mysql-connector-java-{}.jar:5.1.38'
- 'pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/{}/postgresql-{}.jar:42.4.0' - 'pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/{}/postgresql-{}.jar:42.4.0'
- 'mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/{}/mariadb-java-client-{}.jar:3.0.7' - 'mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/{}/mariadb-java-client-{}.jar:3.0.7'
- 'sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/{}/sqlite-jdbc-{}.jar:3.8.11.1' - 'sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/{}/sqlite-jdbc-{}.jar:3.8.11.1'
- 'h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/{}/h2-{}.jar:1.4.197' - 'h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/{}/h2-{}.jar:1.4.197'
``` ```
1) Ensure that 'version' is set to the latest (currently version:7) 1) Ensure that 'version' is set to the latest (currently version:8)
2) Change "com.mysql.cj.jdbc.Driver" to "com.mysql.jdbc.Driver" 2) Change "com.mysql.cj.jdbc.Driver" to "com.mysql.jdbc.Driver"
3) Change mysql driver version from "8.0.29" to "5.1.38" 3) Change mysql driver version from "8.0.29" to "5.1.38"
... ...
......