1. mysql中添加用户名时总出现如下问题:ERROR 1290 (HY000): The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement 解决办法:flush privileges; //新设置用户或更改密码后需要用该命令刷新mysql的系统权限相关表,否则会出现拒绝访问,还可以重启mysql服务器,是新设置生效. 2. grant all pri…