Skip to content

Commit

Permalink
Use non-root MySQL password (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
WaveHack authored Jan 25, 2021
1 parent 77439d1 commit 90ff3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sail
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ if [ $# -gt 0 ]; then
if [ "$EXEC" == "yes" ]; then
docker-compose exec \
mysql \
bash -c 'MYSQL_PWD=${MYSQL_ROOT_PASSWORD} mysql -u ${MYSQL_USER} ${MYSQL_DATABASE}'
bash -c 'MYSQL_PWD=${MYSQL_PASSWORD} mysql -u ${MYSQL_USER} ${MYSQL_DATABASE}'
else
sail_is_not_running
fi
Expand Down

0 comments on commit 90ff3e0

Please sign in to comment.