Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Upgrade mysql-connector-java to 8.0.33 #544

Merged
merged 1 commit into from
Oct 21, 2023

Conversation

rizaon
Copy link
Contributor

@rizaon rizaon commented Oct 21, 2023

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

Resolve #543

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
@fushar fushar merged commit dd0008e into ia-toki:master Oct 21, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade mysql-connector-java to 8.0.33
2 participants