首页 > 编程知识 正文

mysql查看数据库位置,linux mysql配置文件在哪

时间:2023-05-06 05:41:03 阅读:249483 作者:1900

which mysqld

/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 

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

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

/etc/my.cnf

/etc/mysql/my.cnf

/usr/etc/my.cnf

Vue新一代状态管理工具Pinia的具体使用RedisPyCharm中怎么创建Django项目

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。