mariadb/mysql-test/r/empty_user_table.result

9 lines
271 B
Text

create table t1 as select * from 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
insert mysql.user select * from t1;
drop table t1;
flush privileges;