Skip to content

Commit dd0008e

Browse files
authored
feat: Upgrade mysql-connector-java to 8.0.33 (#544)
mysql 8 change its default authentication from mysql_native_password to caching_sha2_password. https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password Upgrading mysql-connector-java will allow seamless connection to the latest MySQL version without the need to set WITH mysql_native_password manually. Testing: - Run mysql container such as follow: docker run --name mysql -e MYSQL_ROOT_PASSWORD=judgels-root \ -e MYSQL_USER=judgels -e MYSQL_PASSWORD=judgels \ -e MYSQL_DATABASE=judgels -d mysql:8 - Successfully run ../gradlew dbMigrate in devcontainer
1 parent 8fec7a6 commit dd0008e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

judgels-backends/gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ immutablesVersion = 2.7.3
2020
jacksonVersion = 2.10.0
2121
jaxRsApiVersion = 2.1
2222
jerseyVersion = 2.30
23-
mysqlConnectorJavaVersion = 5.1.44
23+
mysqlConnectorJavaVersion = 8.0.33
2424
rabbitmqAmqpClientVersion = 4.2.1
2525
slf4jVersion = 1.7.25
2626

0 commit comments

Comments
 (0)