revoke 跟 grant 的语法差不多,只需要把关键字 “to” 换成 “from” 即可: grant all on *.* to aaa@localhost; revoke all on *.* from aaa@localhost;