which mysqld

/usr/sbin/mysqld --verbose --help | grep -A 1 'Default options'

mysql系列一:查看mysql服务配置文件的位置

Default options are read from the following files in the given order:
/etc/my.cnf /etc/mysql/my.cnf /usr/etc/my.cnf ~/.my.cnf 

------------------------

默认配置选项会按一下文件的顺序读取:

/etc/my.cnf

/etc/mysql/my.cnf

/usr/etc/my.cnf

~/.my.cnf 

相关文章:

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