Skip to content

Commit

Permalink
Merge pull request #23 from khaled-sadek/1.x
Browse files Browse the repository at this point in the history
Fix mysql proxy variables
  • Loading branch information
taylorotwell authored Dec 16, 2020
2 parents 90bca29 + ff30308 commit cb52764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/sail
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ if [ $# -gt 0 ]; then
if [ "$EXEC" == "yes" ]; then
docker-compose exec \
mysql \
bash -c "MYSQL_PWD=${MYSQL_ROOT_PASSWORD} mysql -u root ${MYSQL_DATABASE}"
bash -c 'MYSQL_PWD=${MYSQL_ROOT_PASSWORD} mysql -u ${MYSQL_USER} ${MYSQL_DATABASE}'
else
sail_is_not_running
fi
Expand Down

0 comments on commit cb52764

Please sign in to comment.