From b313e5e9469a7c64d4ecc13d4d31dc5bb46c1da5 Mon Sep 17 00:00:00 2001 From: "jocuri%softhome.net" <> Date: Wed, 7 Jul 2004 06:29:32 +0000 Subject: [PATCH] Documentation XML patch for bug 249802: Make the SQL example for granting SQL privs to the DB user suitable for MySQL 4. --- docs/xml/installation.xml | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) 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; + + + +
-- 2.47.3