小编Rya*_*yan的帖子

如何修复:mysql:[ERROR]在配置文件/etc/mysql/my.cnf中找到没有前面组的选项?

我在尝试访问mysql时收到以下错误:

mysql:[ERROR]在第22行的配置文件/etc/mysql/my.cnf中找到没有前面组的选项!mysql:[ERROR]默认处理中的致命错误.程序中止了!

/etc/mysql/my.cnf

#
# The MySQL database server configuration file.
#
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
# 
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
#
# For explanations see
# http://dev.mysql.com/doc/mysql/en/server-system-variables.html

#
# …
Run Code Online (Sandbox Code Playgroud)

mysql

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

mysql ×1