Commit 883683a 1 parent c12a814 commit 883683a Copy full SHA for 883683a
File tree 1 file changed +4
-6
lines changed
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 15
15
mysql :
16
16
image : mysql:5.7
17
17
env :
18
- MYSQL_ALLOW_EMPTY_PASSWORD : false
19
- MYSQL_ROOT_PASSWORD : root
20
- MYSQL_DATABASE : root
18
+ MYSQL_ALLOW_EMPTY_PASSWORD : true
21
19
ports :
22
20
- 3306/tcp
23
21
options : --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
46
44
- name : Start mysql service
47
45
run : |
48
46
sudo systemctl start mysql.service
49
- mysql -e 'CREATE USER "drupal"@"127.0.0.1" IDENTIFIED BY "drupal";' -uroot -proot
50
- mysql -e 'CREATE DATABASE drupal;' -uroot -proot
51
- mysql -e 'GRANT ALL PRIVILEGES ON drupal . * TO "drupal"@"127.0.0.1";' -uroot -proot
47
+ mysql -e 'CREATE USER "drupal"@"127.0.0.1" IDENTIFIED BY "drupal";' -uroot
48
+ mysql -e 'CREATE DATABASE drupal;' -uroot
49
+ mysql -e 'GRANT ALL PRIVILEGES ON drupal . * TO "drupal"@"127.0.0.1";' -uroot
52
50
53
51
- name : Get composer cache directory
54
52
id : composer-cache
You can’t perform that action at this time.
0 commit comments