Skip to content

Commit 300d8a5

Browse files
Update .github/workflows/check.yml
Co-authored-by: Dai MIKURUBE <[email protected]>
1 parent 5f55dcb commit 300d8a5

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/check.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,10 @@ jobs:
7575
run: mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "select version();"
7676
- name: Create database
7777
run: mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "create database ci_test;"
78-
#
79-
# MySQL 8 uses caching_sha2_password mechanism by default.
80-
# Connector/J 5.x doesn't support it.
81-
#
82-
# This part change password mechanism to mysql_native_password.
83-
# Remove the following part after update Connector/J
84-
#
78+
# Workaround to change MySQL's password mechanism to `mysql_native_password`
79+
# from `caching_sha2_password` that is the default in MySQL 8 because
80+
# Connector/J 5.x does not support `caching_sha2_password`.
81+
# TODO: Start testing with `caching_sha2_password` with Connector/J 8.x.
8582
- name: Show password plugins
8683
run: mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "SELECT user, host, plugin FROM mysql.user;"
8784
- name: Change password mechanism1 (root@localhost)

0 commit comments

Comments
 (0)