Skip to content

Commit

Permalink
chore(db): upgrade to mysql 8 for local dev
Browse files Browse the repository at this point in the history
Because:
 - we want to upgrade to mysql 8

This commit:
 - upgrade mysql for local dev
 - start mysqld with default auth set to native password for backwards
   compat with the 'mysql' module
  • Loading branch information
chenba committed Jul 21, 2022
1 parent 7ecc4dd commit 544e8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _scripts/mysql.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ docker run --rm --name=mydb \
-e MYSQL_ROOT_HOST=% \
-e MYSQL_DATABASE=pushbox \
-p 3306:3306 \
mysql/mysql-server:5.7 &
mysql/mysql-server:8.0.29 --default-authentication-plugin=mysql_native_password &

cd "$DIR"
./check-mysql.sh
Expand Down

0 comments on commit 544e8b0

Please sign in to comment.