删除用户步骤如下:第一步:用root用户登录“mysql -u root -p”之后输入密码回车。第二步:删除用户“mysql>Delete FROM user Where User='test'。备注:上面的意思就是从系统user表中删除用户名为“test”用户。
mysql 怎么删除用户
删除用户步骤如下:
第一步:用root用户登录“mysql
-u
root
-p”之后输入密码回车。
第二步:删除用户“mysql>Delete
FROM
user
Where
User='test'
。
备注:上面的意思就是从系统user表中删除用户名为“test”用户。2019-09-21
删除用户
@>mysql
-u
root
-p
@>密码
mysql>delete
from
user
where
user='test'
and
host='localhost';
mysql>flush
privileges;
mysql>drop
database
testdb;
//删除用户的数据库
删除账户及权限:>drop
user
用户名@'%';
>drop
user
用户名@
localhost;2019-09-24