mysqld: [ERROR] Found option without preceding group in config file /etc/my.cnf at line 1! 报错,my.cnf 文件配置有误 我开始报错的配置是: 修改成 主要区别是[client],[mysqld]