summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-12-07 11:34:03 -0800
committerZach Copley <zach@status.net>2009-12-07 11:34:03 -0800
commit4eceef0dbef02f5254a7c2f901aae5b648024f30 (patch)
tree4ce0cc1bc684d04a749a4385e729043e2a8405a8
parent0c955b7c88b41fa28d079eb639abb748583ab4eb (diff)
Grand ALL permissions to the DB user when setting up a new status.net site.
-rwxr-xr-xscripts/setup_status_network.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/setup_status_network.sh b/scripts/setup_status_network.sh
index d40d4724f..777711fb5 100755
--- a/scripts/setup_status_network.sh
+++ b/scripts/setup_status_network.sh
@@ -19,8 +19,8 @@ done
mysql -h $DBHOST -u $ADMIN --password=$ADMINPASS $SITEDB << ENDOFCOMMANDS
-GRANT INSERT,SELECT,UPDATE,DELETE ON $database.* TO '$username'@'localhost' IDENTIFIED BY '$password';
-GRANT INSERT,SELECT,UPDATE,DELETE ON $database.* TO '$username'@'%' IDENTIFIED BY '$password';
+GRANT ALL ON $database.* TO '$username'@'localhost' IDENTIFIED BY '$password';
+GRANT ALL ON $database.* TO '$username'@'%' IDENTIFIED BY '$password';
INSERT INTO status_network (nickname, dbhost, dbuser, dbpass, dbname, sitename, created)
VALUES ('$nickname', '$DBHOSTNAME', '$username', '$password', '$database', '$sitename', now());