Found option without preceding group in config file

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Found option without preceding group in config file相关的知识,希望对你有一定的参考价值。

报错:

error: Found option without preceding group in config file: /etc/my.cnf at line: 1

解决方法:

mysql配置文件最上面加一行

[mysqld]

本文出自 “付炜超” 博客,谢绝转载!

以上是关于Found option without preceding group in config file的主要内容,如果未能解决你的问题,请参考以下文章

mysql数据库error: Found option without preceding group in config file 问题解决

ERROR!MySQL serverPID file could not be found! Starting MySQLERROR! The server quit without updating

ERROR!MySQL serverPID file could not be found! Starting MySQLERROR! The server quit without updating

graphQL 启动报错No method or field found with any of the following signatures (with or without one of [i

When using SqlDependency without providing an options value, SqlDependency.Start() must be called pr

ld: warning: directory not found for option 去掉警告的方法