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

This commit is contained in:
Jan Böhmer 2021-03-14 19:11:02 +01:00
parent ceac2ca808
commit 5782c92894

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 -e "ALTER USER root IDENTIFIED WITH mysql_native_password BY '';"
run: sudo mysql -u root --password="" -e "ALTER USER root IDENTIFIED WITH mysql_native_password BY '';"
#- name: Setup MySQL
# uses: mirromutth/mysql-action@v1.1