Created
August 10, 2014 02:16
-
-
Save gavinengel/e218e48527b75ec73661 to your computer and use it in GitHub Desktop.
OpenShift MySQL CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# connect to database for administration | |
mysql -h $OPENSHIFT_MYSQL_DB_HOST -P ${OPENSHIFT_MYSQL_DB_PORT:-3306} -u ${OPENSHIFT_MYSQL_DB_USERNAME:-'admin'} --password="$OPENSHIFT_MYSQL_DB_PASSWORD" ${OPENSHIFT_APP_NAME}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment