summaryrefslogtreecommitdiffstats
path: root/mysql-test/include/switch_to_mysql_global_priv.inc
blob: 3a93746c4e88f72e1b20cf96b20f1a07ce2b8f67 (plain)
1
2
3
4
5
6
7
echo # switching back from mysql.user to mysql.global_priv;
disable_query_log;
drop table mysql.user;
rename table mysql.user_bak to mysql.user;
rename table mysql.global_priv_bak to mysql.global_priv;
flush privileges;
enable_query_log;