-- 取消权限
revoke all on *.* from test@localhost ;

-- 删除帐号
use mysql
Delete from user where user ='test';
flush privileges;