标签:sele mysq class nts grants 权限 localhost 生效 span
mysql> grant all privileges on *.* to pzk@localhost identified by ‘123456‘; # 创建用户并授权 mysql> flush privileges; # 授权完要刷新权限,否则不会马上生效 mysql> select user,host from mysql.user; # 查看用户
mysql> show grants for pzk@localhost; # 查看用户权限 mysql> delete from mysql.user where user=‘pzk‘; # 删除用户及用户权限
标签:sele mysq class nts grants 权限 localhost 生效 span
原文地址:https://www.cnblogs.com/pzk7788/p/9465371.html