mysql添加新用户时后报 The MySQL server is running with the –skip-grant-tables option so it cannot execute this statement
原因是数据库启动是跳跃了权限表控制
出现此类情况,执行下flush privileges
flush privileges 命令本质上的作用是将当前user和privilige表中的用户信息/权限设置从mysql库(MySQL数据库的内置库)中提取到内存里,可以用在修改了mysql用户和权限后,想要不重启数据库服务就直接生效的情况