MySQL创建用户时报错

使用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了

MySQL创建用户时报错

上一篇:Telegraf+Influxdb+Chronograf+Kapacitor主机性能监控告警


下一篇:phpmyadmin报错:mysqli_real_connect(): (HY000/2002): No such file or directory 错误正确解决方法