From ad32053d26f324cde51ba99e21afd06e97ec0e98 Mon Sep 17 00:00:00 2001 From: tipaul Date: Wed, 15 Dec 2004 13:27:48 +0000 Subject: [PATCH] set lock_tables_privs = 'Y' during install stage --- misc/Install.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/Install.pm b/misc/Install.pm index bf80271779..ca10bfea66 100644 --- a/misc/Install.pm +++ b/misc/Install.pm @@ -1770,7 +1770,7 @@ sub databasesetup { # Set up permissions startsysout(); print system("$mysqldir/bin/mysql -u$mysqluser mysql -e \"insert into user (Host,User,Password) values ('$hostname','$user',password('$pass'))\"\;");#" - system("$mysqldir/bin/mysql -u$mysqluser mysql -e \"insert into db (Host,Db,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv, index_priv, alter_priv) values ('%','$database','$user','Y','Y','Y','Y','Y','Y','Y','Y')\""); + system("$mysqldir/bin/mysql -u$mysqluser mysql -e \"insert into db (Host,Db,User,Select_priv,Insert_priv,Update_priv,Delete_priv,Create_priv,Drop_priv, index_priv, alter_priv,lock_tables_priv) values ('%','$database','$user','Y','Y','Y','Y','Y','Y','Y','Y','Y')\""); system("$mysqldir/bin/mysqladmin -u$mysqluser reload"); # Change to admin user login setmysqlclipass($pass); -- 2.39.5