From ceac2ca808a9f82b4079b187b6436d8b01c28f92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20B=C3=B6hmer?= Date: Sun, 14 Mar 2021 19:09:01 +0100 Subject: [PATCH] Fixed unsupported authentication method bug on MySQL 8.0 for PHPUnit action. --- .github/workflows/tests.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 372b07cc..ddd3c67e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -37,6 +37,9 @@ jobs: - name: Start MySQL 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 '';" #- name: Setup MySQL # uses: mirromutth/mysql-action@v1.1