Calcifer Calcifer 2 Calcifer 3 Calcifer 4
Linux

查看nginx mysql配置文件路径

2015/12/09 15:52 3928 次阅读 王梓
打赏
✸ ✸ ✸

查看nginx配置文件路径

/usr/local/nginx/sbin/nginx -t

查看mysql配置文件路径

mysql --help|grep my.cnf

[root@k8s-master conf]# mysql --help|grep my.cnf
                      order of preference, my.cnf, $MYSQL_TCP_PORT,
/etc/mysql/my.cnf /etc/my.cnf ~/.my.cnf 
[root@k8s-master conf]#  /usr/local/nginx/sbin/nginx -t
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
✸ ✸ ✸

📜 版权声明

本文作者:王梓 | 原文链接:https://www.bthlt.com/note/13295547-Linux查看nginx mysql配置文件路径

出处:葫芦的运维日志 | 转载请注明出处并保留原文链接

📜 留言板

留言提交后需管理员审核通过才会显示