]> BookStack Code Mirror - bookstack/commitdiff
Altered mysql start command in workflows
authorDan Brown <redacted>
Wed, 15 Dec 2021 13:56:21 +0000 (13:56 +0000)
committerDan Brown <redacted>
Wed, 15 Dec 2021 13:56:21 +0000 (13:56 +0000)
Due to https://github.com/actions/virtual-environments/issues/4732

.github/workflows/phpunit.yml
.github/workflows/test-migrations.yml

index 6c33335025b7ce68ed7f609fa0aa5dad7b12e623..c4be516f34dfd3451e08c9b2dd2d8749d14d48a1 100644 (file)
@@ -36,7 +36,7 @@ jobs:
 
     - name: Start Database
       run: |
-        sudo /etc/init.d/mysql start
+        sudo systemctl start mysql
 
     - name: Setup Database
       run: |
index 846992e7b38bfad90ce24d21cf7542f2048fd9fa..4c16cf016bb09defea70091b61719661854c6180 100644 (file)
@@ -36,7 +36,7 @@ jobs:
 
       - name: Start MySQL
         run: |
-          sudo /etc/init.d/mysql start
+          sudo systemctl start mysql
 
       - name: Create database & user
         run: |