bass6

 

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

 

分类:

技术点:

相关文章:

  • 2022-02-05
  • 2021-12-03
  • 2021-08-17
  • 2022-12-23
  • 2022-12-23
  • 2021-11-20
  • 2021-12-27
猜你喜欢
  • 2022-02-07
  • 2022-02-07
  • 2022-01-08
相关资源
相似解决方案