From: jocuri%softhome.net <> Date: Wed, 7 Jul 2004 06:29:32 +0000 (+0000) Subject: Documentation XML patch for bug 249802: Make the SQL example for granting SQL privs... X-Git-Tag: bugzilla-2.16.6~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b313e5e9469a7c64d4ecc13d4d31dc5bb46c1da5;p=thirdparty%2Fbugzilla.git Documentation XML patch for bug 249802: Make the SQL example for granting SQL privs to the DB user suitable for MySQL 4. --- diff --git a/docs/xml/installation.xml b/docs/xml/installation.xml index 6b0136094c..176c78509a 100644 --- a/docs/xml/installation.xml +++ b/docs/xml/installation.xml @@ -668,14 +668,17 @@ AllowOverride Limit Modify it to reflect your setup if you will be connecting from another machine or as a different user. - Remember to set <bugs_password> to some unique password. + Remember to set <bugs_password> to some unique password. + + If you are using MySQL 4.0 or newer, enter: mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, - ALTER,CREATE,DROP,REFERENCES ON bugs.* TO bugs@localhost + ALTER,CREATE,DROP,LOCK TABLES,CREATE TEMPORARY + TABLES,REFERENCES ON bugs.* TO bugs@localhost IDENTIFIED BY '<bugs_password>'; @@ -690,11 +693,29 @@ AllowOverride Limit - - If you are using MySQL 4, the bugs user also needs to be granted - the LOCK TABLES and CREATE TEMPORARY TABLES permissions. - - + If you are using an older version of MySQL, + the LOCK TABLES and CREATE TEMPORARY TABLES permissions + need to be removed from the list: + + + + mysql> + + GRANT SELECT,INSERT,UPDATE,DELETE,INDEX, + ALTER,CREATE,DROP,REFERENCES ON bugs.* TO bugs@localhost + IDENTIFIED BY '<bugs_password>'; + + + + + + mysql> + + FLUSH PRIVILEGES; + + + +