Skip to content

Commit

Permalink
Use MySQL 8.0 as the default version.
Browse files Browse the repository at this point in the history
  • Loading branch information
limingxinleo committed Apr 26, 2024
1 parent d737b4c commit 012ff0a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
run: ./.github/swoole.install.sh
- name: Setup MySQL ...
run: |
docker run -e TZ=Asia/Shanghai -e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_ROOT_HOST=% -e MYSQL_DATABASE=hyperf -v $PWD/.github/init.sql:/docker-entrypoint-initdb.d/init.sql -d -p 3306:3306 --name mysql mysql/mysql-server:5.7
docker run -e TZ=Asia/Shanghai -e MYSQL_ALLOW_EMPTY_PASSWORD=true -e MYSQL_ROOT_HOST=% -e MYSQL_DATABASE=hyperf -v $PWD/.github/init.sql:/docker-entrypoint-initdb.d/init.sql -d -p 3306:3306 --name mysql mysql/mysql-server:8.0
docker run -p 6379:6379 -d --name redis redis:latest
- name: Show Environment
run: |
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: '3.7'
services:
mysql:
image: "mysql/mysql-server:5.7"
image: "mysql/mysql-server:8.0"
environment:
TZ: "Asia/Shanghai"
MYSQL_ALLOW_EMPTY_PASSWORD: "true"
Expand Down

0 comments on commit 012ff0a

Please sign in to comment.