您的位置:首页 > 数据库 > MySQL

ubuntu16 mysql配置文件my.cnf中没有bind-address

2016-12-23 15:23 806 查看
使用ubuntu16安装mysql时,发现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,其实bind address是在这里面的:

/etc/mysql/mysql.conf.d/mysqld.cnf
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ubuntu mysql