Skip to content

Commit

Permalink
Fix issue starting mysql service
Browse files Browse the repository at this point in the history
  • Loading branch information
jkowens committed Oct 4, 2024
1 parent 01cb6b9 commit 632d009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
ports:
- 3306:3306
env:
MYSQL_HOST: 127.0.0.1
MYSQL_ROOT_PASSWORD: root
MYSQL_USER: github
MYSQL_PASSWORD: github
Expand Down Expand Up @@ -103,7 +104,6 @@ jobs:
rubygems: latest
- name: Set up databases
run: |
sudo /etc/init.d/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;'
Expand Down

0 comments on commit 632d009

Please sign in to comment.