mysql关闭以及重启密码 在my.ini文件中最后添加skip-grant-tables 重启mysql,修改mysql-user表中字段; %是通配符,所有人都可以链接; 最后删掉skip-grant-tables; 就OK