Skip to content

Commit f6e2844

Browse files
committed
Update ezsql-macos.yml
1 parent ef35860 commit f6e2844

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/ezsql-macos.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,11 @@ jobs:
3636
brew services start [email protected]
3737
brew link [email protected] --force
3838
mysqld --initialize-insecure
39-
sudo ls /var/spool/
40-
sudo ls /usr/local/var/mysql/
41-
sudo ln -s /tmp/mysql.sock /usr/local/var/mysql/mysql.sock
39+
sudo ls /usr/local/var/mysql/mysql/
4240
- name: Setup MySQL Database
4341
run: |
44-
mysql -u root -e "CREATE DATABASE IF NOT EXISTS ez_test;"
45-
mysql -u root -e "CREATE USER ez_test@localhost IDENTIFIED BY 'ezTest'; GRANT ALL ON ez_test.* TO ez_test@localhost; FLUSH PRIVILEGES;"
42+
mysql -u root -h127.0.0.1 -e "CREATE DATABASE IF NOT EXISTS ez_test;"
43+
mysql -u root -h127.0.0.1 -e "CREATE USER ez_test@localhost IDENTIFIED BY 'ezTest'; GRANT ALL ON ez_test.* TO ez_test@localhost; FLUSH PRIVILEGES;"
4644
- name: Brew Start PostgreSql
4745
run: brew services restart postgresql
4846
- name: Setup PostgreSql Database

0 commit comments

Comments
 (0)