The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 报错解决 引起报错原因: 忘记mysql密码,在配置文件添加–skip-grant-tables,重启数据库之后,无法修改密码 解决办法: flush privileges; 然后修改密码就ok了!!!!!!!!!!!