From 63b21f385d7857e291cd1808e8991f796865c345 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Fri, 3 May 2024 08:36:52 +0200 Subject: [PATCH] mysql8 does not automatically load mysql_native_password-plugin anymore (should not be necessary anyway) Signed-off-by: Michael Kaufmann --- .github/workflows/build-mysql.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/build-mysql.yml b/.github/workflows/build-mysql.yml index aa774291..21927a07 100644 --- a/.github/workflows/build-mysql.yml +++ b/.github/workflows/build-mysql.yml @@ -39,16 +39,7 @@ jobs: - name: Wait for database run: sleep 15 - - name: Setup database (8.0) - if: matrix.mysql-version == '8.0' - run: | - mysql -h 127.0.0.1 --protocol=TCP -u root -pfr0xl0r.TravisCI -e "CREATE USER 'froxlor010'@'%' IDENTIFIED WITH mysql_native_password BY 'fr0xl0r.TravisCI';" - mysql -h 127.0.0.1 --protocol=TCP -u root -pfr0xl0r.TravisCI -e "GRANT ALL ON froxlor010.* TO 'froxlor010'@'%';" - php -r "echo include('install/froxlor.sql.php');" > /tmp/froxlor.sql - mysql -h 127.0.0.1 --protocol=TCP -u root -pfr0xl0r.TravisCI froxlor010 < /tmp/froxlor.sql - - - name: Setup database (5.7) - if: matrix.mysql-version == '5.7' + - name: Setup database run: | mysql -h 127.0.0.1 --protocol=TCP -u root -pfr0xl0r.TravisCI -e "CREATE USER 'froxlor010'@'%' IDENTIFIED BY 'fr0xl0r.TravisCI';" mysql -h 127.0.0.1 --protocol=TCP -u root -pfr0xl0r.TravisCI -e "GRANT ALL ON froxlor010.* TO 'froxlor010'@'%';"