From feaa7a26d5d69547346a13bf951a94a2b7338cc1 Mon Sep 17 00:00:00 2001 From: Rachel Sanders Date: Fri, 18 Sep 2015 11:34:33 -0700 Subject: [PATCH] It would help to actually run the commands --- contrib/scripts/setup-mysql-db.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/scripts/setup-mysql-db.sh b/contrib/scripts/setup-mysql-db.sh index 19b716f..134d38d 100755 --- a/contrib/scripts/setup-mysql-db.sh +++ b/contrib/scripts/setup-mysql-db.sh @@ -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"