 ON test.* FROM test0@localhost;  --echo connect (test0,localhost,test0,,test,MASTER_MYPORT,MASTER_MYSOCK); connect (test0,localhost,test0,,test,$MASTER_MYPORT,$MASTER_MYSOCK); USE test; SHOW GRANTS FOR CURRENT_USER; --error ER_TABLEACCESS_DENIED_ERROR ALTER TABLE tsp EXCHANGE PARTITION sp00 WITH TABLE tsp_00; --echo disconnect test0; disconnect test0;  --echo connection default; connection default; GRANT 