Skip to content

Commit

Permalink
Update .github/workflows/check.yml
Browse files Browse the repository at this point in the history
Co-authored-by: Dai MIKURUBE <[email protected]>
  • Loading branch information
hiroyuki-sato and dmikurube authored Aug 28, 2024
1 parent 5f55dcb commit 300d8a5
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,13 +75,10 @@ jobs:
run: mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "select version();"
- name: Create database
run: mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "create database ci_test;"
#
# MySQL 8 uses caching_sha2_password mechanism by default.
# Connector/J 5.x doesn't support it.
#
# This part change password mechanism to mysql_native_password.
# Remove the following part after update Connector/J
#
# Workaround to change MySQL's password mechanism to `mysql_native_password`
# from `caching_sha2_password` that is the default in MySQL 8 because
# Connector/J 5.x does not support `caching_sha2_password`.
# TODO: Start testing with `caching_sha2_password` with Connector/J 8.x.
- name: Show password plugins
run: mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "SELECT user, host, plugin FROM mysql.user;"
- name: Change password mechanism1 (root@localhost)
Expand Down

0 comments on commit 300d8a5

Please sign in to comment.