2018-11-24 14:13:41 +01:00
|
|
|
create table t1 as select * from mysql.global_priv;
|
|
|
|
truncate table mysql.global_priv;
|
2013-05-08 14:32:32 +02:00
|
|
|
flush privileges;
|
|
|
|
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
|
2016-03-25 20:51:22 +04:00
|
|
|
connect fail,localhost,u1;
|
2013-05-21 09:42:10 +02:00
|
|
|
Got one of the listed errors
|
2018-11-24 14:13:41 +01:00
|
|
|
insert mysql.global_priv select * from t1;
|
2013-05-08 14:32:32 +02:00
|
|
|
drop table t1;
|
|
|
|
flush privileges;
|
2020-04-21 18:45:12 +02:00
|
|
|
# switching from mysql.global_priv to mysql.user
|
2018-11-24 14:13:41 +01:00
|
|
|
truncate table mysql.user;
|
|
|
|
flush privileges;
|
|
|
|
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
|
|
|
|
connect fail,localhost,u1;
|
|
|
|
Got one of the listed errors
|
2020-04-21 18:45:12 +02:00
|
|
|
# switching back from mysql.user to mysql.global_priv
|