window 下: 在my.ini 配置文件中添加 --skip-grant-tables,重启MySQL服务。 linux下: # /usr/bin/safe_mysqld --skip-grant-tables