linux之mysql基本信息查询

1.查询mysql安装路径

which mysqld

2.查看mysql默认配置文件路径

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

原文地址:https://www.cnblogs.com/potatoChicken/p/11558814.html