mysql>select Host,User,Password from user; //查看所有用户
mysql>delete from user where password="";
mysql>flush privileges;
mysql>select Host,User,Password from user; //确认密码为空的用户是否已全部删除
mysql>exit;
--------------------------------------分割线 --------------------------------------
--------------------------------------分割线 --------------------------------------