diff --git a/.github/actions/setup-database/action.yml b/.github/actions/setup-database/action.yml index f3c8598849..3bfce31d1b 100644 --- a/.github/actions/setup-database/action.yml +++ b/.github/actions/setup-database/action.yml @@ -43,9 +43,14 @@ runs: echo "MySQL is ready" shell: bash - - name: Set up MySQL Privileges + - name: Set up MySQL Privileges and Character Set if: ${{ inputs.database == 'mysql' }} run: | + # Set global character set and collation + mysql -u root -proot_password -h 127.0.0.1 mysql <