dchia changes to mysql branch

Made minor fixes to deploy action_hook so that it works.
Not sure what to do with this section though since I don't see where "Account" table is being used

# Confirm database exists, if not create it
if ! /usr/bin/mysql -u "$OPENSHIFT_MYSQL_DB_USERNAME" --password="$OPENSHIFT_MYSQL_DB_PASSWORD" -h "$OPENSHIFT_MYSQL_DB_HOST" -P "$OPENSHIFT_MYSQL_DB_PORT" -e "select * from ACCOUNT;" "$OPENSHIFT_APP_NAME" > /dev/null
then
echo
echo "Schema not found --> Importing schema from .openshift/action_hooks/scale-schema.sql"
    echo
    /usr/bin/mysql -u "$OPENSHIFT_MYSQL_DB_USERNAME" --password="$OPENSHIFT_MYSQL_DB_PASSWORD" -h "$OPENSHIFT_MYSQL_DB_HOST" -P "$OPENSHIFT_MYSQL_DB_PORT" "$OPENSHIFT_APP_NAME" < "$OPENSHIFT_REPO_DIR/.openshift/action_hooks/scale-schema.sql"
    echo
echo "done."
else
echo "Database was found, skipping import."
fi