File tree 1 file changed +5
-7
lines changed
1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,11 @@ jobs:
24
24
25
25
steps :
26
26
27
- - name : Setup MySQL latest
28
- if : matrix.db-type == 'mysql' && matrix.php-version != '7.4'
29
- run : docker run --rm --name=mysqld -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=cakephp -p 3306:3306 -d mysql --default-authentication-plugin=mysql_native_password --disable-log-bin
30
-
31
- - name : Setup MySQL 5.6
32
- if : matrix.db-type == 'mysql' && matrix.php-version == '7.4'
33
- run : docker run --rm --name=mysqld -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=cakephp -p 3306:3306 -d mysql:5.6 --character-set-server=utf8
27
+ - name : Setup MySQL
28
+ if : matrix.db-type == 'mysql'
29
+ run : |
30
+ sudo service mysql start
31
+ mysql -h 127.0.0.1 -u root -proot -e 'CREATE DATABASE cakephp;'
34
32
35
33
- uses : actions/checkout@v3
36
34
You can’t perform that action at this time.
0 commit comments