Skip to content

Commit

Permalink
mac mysql
Browse files Browse the repository at this point in the history
  • Loading branch information
msimerson committed Feb 19, 2024
1 parent 8f97f13 commit c750a9a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions sql/init-mysql.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
#!/bin/sh


# configure MySQL in the GitHub runners
case "$(uname -s)" in
Linux*)
export MYSQL_PWD=root
;;
Darwin*)
export MYSQL_PWD=""
# mysqladmin --user=root --password='' --protocol=tcp password 'root'
mysqladmin --user=root --password='' --protocol=tcp password 'root'
export MYSQL_PWD="root"
;;
CYGWIN*|MINGW*|MINGW32*|MSYS*)
export MYSQL_PWD=""
# mysqladmin --user=root --password='' --protocol=tcp password 'root'
;;
esac

Expand Down

0 comments on commit c750a9a

Please sign in to comment.