标签:
[root@DB ~]# /usr/local/mysql/bin/mysqld --verbose --help |grep -A 1 ‘Default options‘ Default options are read from the following files in the given order: /etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf #服务器首先会读取/etc/my.cnf文件,如果发现该文件不存在,再依次尝试从后面的几个路径进行读取
标签:
原文地址:http://www.cnblogs.com/bass6/p/5581581.html