Skip to content

Commit

Permalink
Merge pull request #43 from alexharrington/master
Browse files Browse the repository at this point in the history
Fix container for use with external database. Prior to this, it would…
  • Loading branch information
alexharrington authored Dec 13, 2016
2 parents 2b3c6f6 + 466a308 commit 6efaa95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion containers/web-dev/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ sleep 1

DB_EXISTS=0
# Check if the database exists already
if mysql -u root -p$MYSQL_ENV_MYSQL_ROOT_PASSWORD -h $CMS_DATABASE_HOST -P $CMS_DATABASE_PORT -e "use $CMS_DATABASE_NAME"
if mysql -u $CMS_DATABASE_USERNAME -p$CMS_DATABASE_PASSWORD -h $CMS_DATABASE_HOST -P $CMS_DATABASE_PORT -e "use $CMS_DATABASE_NAME"
then
# Database exists.
DB_EXISTS=1
Expand Down

0 comments on commit 6efaa95

Please sign in to comment.