From 5782c92894fe48503bdfdd09815400ac7beede33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 14 Mar 2021 19:11:02 +0100 Subject: [PATCH] Fixed unsupported authentication method bug on MySQL 8.0 for PHPUnit action. --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ddd3c67e..da5d4d99 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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