It would help to actually run the commands

This commit is contained in:
Rachel Sanders
2015-09-18 11:34:33 -07:00
parent 43d8862f8f
commit feaa7a26d5

View File

@@ -61,10 +61,10 @@ fi
echo "Creating database ${DATABASE}..."
echo "create database ${DATABASE};" | echo ${MYSQL_CMD}
echo "create database ${DATABASE};" | ${MYSQL_CMD}
echo "Granting priviliges..."
echo "grant all privileges on ${DATABASE}.* to 'hackpad'@'localhost' identified by 'password';" | echo ${MYSQL_CMD}
echo "grant all privileges on ${DATABASE}.* to 'hackpad'@'localhost' identified by 'password';" | ${MYSQL_CMD}
echo "Success"