File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,10 @@ jobs:
75
75
run : mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "select version();"
76
76
- name : Create database
77
77
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.
85
82
- name : Show password plugins
86
83
run : mysql -h 127.0.0.1 --port 3306 -uroot -proot -e "SELECT user, host, plugin FROM mysql.user;"
87
84
- name : Change password mechanism1 (root@localhost)
You can’t perform that action at this time.
0 commit comments