aboutsummaryrefslogtreecommitdiffstats
path: root/etherpad/bin
diff options
context:
space:
mode:
authorJeff Mitchell <etherpad@jefferai.org>2010-04-07 18:23:49 -0400
committerJeff Mitchell <etherpad@jefferai.org>2010-04-07 18:23:49 -0400
commita8a2dae29ecd1f1ec2a334df980e49ea04ee61b8 (patch)
treedbc2eaeb092b02f6e528fca59d575954dc50fd86 /etherpad/bin
parent34548937f88041cb1eef6aefe378543cb051102e (diff)
downloadetherpad-a8a2dae29ecd1f1ec2a334df980e49ea04ee61b8.tar.gz
etherpad-a8a2dae29ecd1f1ec2a334df980e49ea04ee61b8.tar.xz
etherpad-a8a2dae29ecd1f1ec2a334df980e49ea04ee61b8.zip
Forgot the -p on the end of the mysql lines...this fixes my previous commit properly
Diffstat (limited to 'etherpad/bin')
-rwxr-xr-xetherpad/bin/setup-mysql-db.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/etherpad/bin/setup-mysql-db.sh b/etherpad/bin/setup-mysql-db.sh
index 754e089..45901ac 100755
--- a/etherpad/bin/setup-mysql-db.sh
+++ b/etherpad/bin/setup-mysql-db.sh
@@ -17,9 +17,9 @@
db="etherpad"
echo "Creating etherpad ${db}..."
-echo "create database ${db};" | ${mysql} -u root
+echo "create database ${db};" | ${mysql} -u root -p
echo "Granting priviliges..."
-echo "grant all privileges on ${db}.* to 'etherpad'@'localhost' identified by 'password';" | ${mysql} -u root
+echo "grant all privileges on ${db}.* to 'etherpad'@'localhost' identified by 'password';" | ${mysql} -u root -p
echo "Success"