我正在尝试编辑my.cnf
文件以允许远程访问,并最终使用Windows Server中的软件为MySQL Server配置计划的备份。
我遵循这些指示。但是,/etc/mysql/my.cnf
我的Ubuntu上的文件只有:
#
# 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/
它不包含我可以编辑的任何配置。为什么会这样呢?
这意味着文件仅处于默认状态,即自安装以来的原始格式
—
Sergiy Kolodyazhnyy