美文网首页
确定 Mysql 使用的配置文件是哪个

确定 Mysql 使用的配置文件是哪个

作者: saronic | 来源:发表于2018-11-22 10:43 被阅读6次
    $which mysqld
    /user/sbin/mysqld
    $ /usr/sbin/mysqld --verbose --help | grep -A 1 "Default options"
    Default options are read from the following files in the given order:
    /etc/mysql/my.cnf ~/.my.cnf /usr/etc/my.cnf
    

    相关文章

      网友评论

          本文标题:确定 Mysql 使用的配置文件是哪个

          本文链接:https://www.haomeiwen.com/subject/zhwkqqtx.html