use mysql update user set password="" where user =" 用户名 "; frush privileges; 查看数据库用户名和密码: select * from user\G;