Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
Update MySQL Errors
authored
Feb 20, 2023
by
Ruan
Hide whitespace changes
Inline
Side-by-side
MySQL-Errors.md
View page @
1cd50695
...
...
@@ -129,15 +129,16 @@ In config.yml, modify the `drivers` section. It should look like this after modi
```
drivers:
- version:8
- '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'
- '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'
- 'h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/{}/h2-{}.jar:1.4.197'
- 'mysql:com.mysql.jdbc.Driver:https://repo1.maven.org/maven2/mysql/mysql-connector-java/{}/mysql-connector-java-{}.jar:5.1.38
:b95bf9fe25cb5428f378a62fc842e177ca004b4ae1f9054968b2a396dcc1ec22
'
- 'pgsql:org.postgresql.Driver:https://repo1.maven.org/maven2/org/postgresql/postgresql/{}/postgresql-{}.jar:42.4.0
:fe25b9c0a2c59458504ec88862853df522ee87f8a02564835d537c29ae4cb125
'
- 'mariadb:org.mariadb.jdbc.Driver:https://repo1.maven.org/maven2/org/mariadb/jdbc/mariadb-java-client/{}/mariadb-java-client-{}.jar:3.
1.2:aaec1ad348d030a65b25c93c65cdaf472bf8b4b6b314b965e5ba13aec81bc622
'
- 'sqlite:org.sqlite.JDBC:https://repo1.maven.org/maven2/org/xerial/sqlite-jdbc/{}/sqlite-jdbc-{}.jar:3.8.11.1
:58ab29176a24a85a0c76177561257a986c4865e45730b79882c688846371d341
'
- 'h2:org.h2.Driver:https://repo1.maven.org/maven2/com/h2database/h2/{}/h2-{}.jar:1.4.197
:37f5216e14af2772930dff9b8734353f0a80e89ba3f33e065441de6537c5e842
'
```
1) Ensure that 'version' is set to the latest (currently version:8)
1) Ensure that 'version' is set to the latest (currently
`
version:8
`
)
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"
4) Change the SHA-256 checksum to
`b95bf9fe25cb5428f378a62fc842e177ca004b4ae1f9054968b2a396dcc1ec22`
Workaround 2: Set
`driver: MariaDB`
instead of
`driver: MySQL`
in config.yml.
...
...
...
...