From 02e3c03c246b47d51104c6e7fcde4059e6bf076d Mon Sep 17 00:00:00 2001 From: Jordan Owens Date: Fri, 4 Oct 2024 11:18:49 -0400 Subject: [PATCH] Fix issue starting mysql service --- .github/workflows/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index cdc82b96..93b391b8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -103,7 +103,7 @@ jobs: rubygems: latest - name: Set up databases run: | - sudo /etc/init.d/mysql start + sudo service mysql start mysql -e 'CREATE DATABASE ${{ env.DB_DATABASE }} CHARACTER SET utf8 COLLATE utf8_general_ci;' -u root -proot psql -h localhost -U postgres -c 'create database ${{ env.DB_DATABASE }};' psql -h localhost -U postgres -d ${{ env.DB_DATABASE }} -c 'create extension if not exists hstore;'