使用mysql创建用户时候
CREATE USER ‘userName‘@‘%‘ IDENTIFIED BY ‘password‘;
出现下面错误提示
The MySQL server is running with the --skip-grant-tables option so it cannot execute this statement
安装目录下进入命令行 执行
mysql> flush privileges;
就ok了
原文:https://www.cnblogs.com/7xbk/p/13292400.html