-bash-4.1$ which mysqld
/usr/sbin/mysqld
-bash-4.1$ /usr/sbin/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/etc/my.cnf ~/.my.cnf
2014-06-18 15:21:37 488 [Note] Binlog end
2014-06-18 15:21:37 488 [Note] Shutting down plugin 'MyISAM'
2014-06-18 15:21:37 488 [Note] Shutting down plugin 'CSV'
本文详细解读了使用bash命令查询MySQL启动命令及其默认配置选项的过程,包括MySQL启动时读取配置文件的顺序和系统默认配置选项。通过实例演示,帮助理解MySQL初始化流程和配置管理。
1882

被折叠的 条评论
为什么被折叠?



