MySQL 删除user为空的用户
导读
进入mysql数据库
mysql -uroot -p
查看用户信息
select user,host from mysql.user;
删除user为空用户
delete from mysql.user where user='';
评论(0)
导读
进入mysql数据库
mysql -uroot -p
查看用户信息
select user,host from mysql.user;
删除user为空用户
delete from mysql.user where user='';