revoke 跟 grant 的语法差不多,只需要把关键字 “to” 换成 “from” 即可:
grant all on *.* to aaa@localhost;
revoke all on *.* from aaa@localhost;
时间: 2024-12-28 23:38:00
revoke 跟 grant 的语法差不多,只需要把关键字 “to” 换成 “from” 即可:
grant all on *.* to aaa@localhost;
revoke all on *.* from aaa@localhost;