MySQL使用常见问题
查看MySQL服务使用的配置文件
# 查看MySQL服务程序安装位置
$ which mysqld
/usr/sbin/mysqld
# 查看MySQL服务程序默认使用的配置文件
$ sudo /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 ~/.my.cnf
作者:编程随笔
出处:http://www.cnblogs.com/nuccch/
声明:本文版权归作者和博客园共有,欢迎转载,但请在文章页面明显位置给出原文连接。