3
試圖訪問MySQL時,我收到以下錯誤:如何解決:mysql:[錯誤]在配置文件/etc/mysql/my.cnf中找到沒有前置組的選項?
的mysql:[錯誤]沒有在22行前面的組配置文件/etc/mysql/my.cnf找到的選項! mysql:[錯誤]默認處理中發生致命錯誤。程序中止!
/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
#
# * IMPORTANT: Additional settings that can override those from this file!
# The files must end with '.cnf', otherwise they'll be ignored.
#
!includedir /etc/mysql/conf.d/
!includedir /etc/mysql/mysql.conf.d/
bind-address = 127.0.0.1
general_log_file = /var/log/mysql/mysql.log
general_log = 1
任何幫助,將不勝感激。
第22行是您的綁定地址。這個問題 - 因爲我也擁有它 - 他們之前談論的是什麼? –