MySQL读取my.cnf文件的顺序-亲试ok-20201020
[root@myown_test ~]# 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
[root@myown_test ~]# mysql --verbose --help |grep my.cnf
order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf
创建时间:2021-12-22 10:09
넶浏览量:0