From: Zach Copley Date: Mon, 7 Dec 2009 19:34:03 +0000 (-0800) Subject: Grand ALL permissions to the DB user when setting up a new status.net site. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4eceef0dbef02f5254a7c2f901aae5b648024f30;p=quix0rs-gnu-social.git Grand ALL permissions to the DB user when setting up a new status.net site. --- diff --git a/scripts/setup_status_network.sh b/scripts/setup_status_network.sh index d40d4724f2..777711fb55 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());