To grant the Lock table privilege:
mysql
use mysql;
show tables;
update db set Lock_tables_priv='Y' where Db="DatabaseName" and User="DatabaseUsername";
flush privileges;
To grant the Temp table privilege:
mysql
use mysql;
show tables;
update db set Create_tmp_table_priv='Y' where Db='DatabaseName' and User="DatabaseUsername";
flush privileges;
Make sure that you had given flush privileges.
Modify the DatabaseUsername and DatabaseName according to the requirement.
0
Grant lock and temp table privilege
Grant lock and temp table privilege
Wednesday, November 7, 2007
Posted in: mysql | 0 Comments | Email This
Subscribe to:
Post Comments (RSS)
0 Responses to "Grant lock and temp table privilege"
Post a Comment