mariadb/mysql-test/main/empty_user_table.result

17 lines
552 B
Text
Raw Normal View History

create table t1 as select * from mysql.global_priv;
truncate table mysql.global_priv;
flush privileges;
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
connect fail,localhost,u1;
2013-05-21 09:42:10 +02:00
Got one of the listed errors
insert mysql.global_priv select * from t1;
drop table t1;
flush privileges;
2020-04-21 18:45:12 +02:00
# switching from mysql.global_priv to mysql.user
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