Skip to content

Commit

Permalink
a quick update to clarify mysql command usage
Browse files Browse the repository at this point in the history
  • Loading branch information
fideloper committed Sep 14, 2018
1 parent 01e55a4 commit 87e7c38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docker-files/vessel
Original file line number Diff line number Diff line change
Expand Up @@ -273,9 +273,8 @@ if [ $# -gt 0 ]; then
mysql \
bash -c 'MYSQL_PWD=$MYSQL_ROOT_PASSWORD mysql -u root $MYSQL_DATABASE'
else
$COMPOSE run --rm \
mysql \
bash -c 'MYSQL_PWD=$MYSQL_ROOT_PASSWORD mysql -u root $MYSQL_DATABASE'
echo "Error: This command can only be run while a MySQL container is running mysqld (mysql server)."
echo "This command cannot run the server and the mysql client at the same time."
fi

# If "ssh" is used, pass-thru to "ssh"
Expand Down

0 comments on commit 87e7c38

Please sign in to comment.