Fixed unsupported authentication method bug on MySQL 8.0 for PHPUnit action.

This commit is contained in:
Jan Böhmer 2021-03-14 19:13:42 +01:00
parent 5782c92894
commit 8a74acb4ed

View file

@ -39,7 +39,7 @@ jobs:
run: sudo systemctl start mysql.service
- name: Setup MySQL authentication method that PHP understands
run: sudo mysql -u root --password="" -e "ALTER USER root IDENTIFIED WITH mysql_native_password BY '';"
run: sudo mysql -u root --password="root" -e "ALTER USER root IDENTIFIED WITH mysql_native_password BY 'root';"
#- name: Setup MySQL
# uses: mirromutth/mysql-action@v1.1