Skip to content

Commit

Permalink
Update Playwright Admin Workflow to Use External MySQL Configuration
Browse files Browse the repository at this point in the history
- Removed inline MySQL character set and collation options from the workflow file.
- Added a new my.cnf configuration file to specify MySQL settings including default-authentication
  • Loading branch information
ryota-murakami committed Nov 21, 2024
1 parent 0f48848 commit b71703f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/playwright_admin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ jobs:
ports:
- '3306:3306'
options: >-
--character-set-server=utf8mb4
--collation-server=utf8mb4_unicode_ci
--health-cmd="mysqladmin ping --silent"
--health-interval=10s
--health-timeout=5s
Expand All @@ -26,6 +24,8 @@ jobs:
MYSQL_DATABASE: digital
MYSQL_USER: root
MYSQL_PASSWORD: password
volumes:
- ./my.cnf:/etc/mysql/conf.d/my.cnf
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand Down
4 changes: 4 additions & 0 deletions my.cnf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[mysqld]
default-authentication-plugin=mysql_native_password
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci

0 comments on commit b71703f

Please sign in to comment.