当前位置:Gxlcms > 数据库问题 > 查看MySQL配置文件路径及相关配置

查看MySQL配置文件路径及相关配置

时间:2021-07-01 10:21:17 帮助过:2人阅读

 

[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文件,如果发现该文件不存在,再依次尝试从后面的几个路径进行读取

 

查看MySQL配置文件路径及相关配置

标签:

人气教程排行