开发者社区 问答 正文

对mysql文档中Server System Variables的疑问

在mysql官方文档中Server System Variables这一节中,在说明某个System Variables的时候,如下图划红线的2行,一行为命令行格式,一行为选项文件格式,我知道option-file Format是指在my.cnf配置文件的格式,但是我不理解command-line format指什么?
1

展开
收起
落地花开啦 2016-02-18 13:52:56 2010 分享 版权
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    这里的"Command-line"指的是在通过mysql启动命令启动mysql的时候,可以通过设置命令行参数指定mysql system variable
    如:
    #/usr/bin/mysqld_safe --datadir=/data/mysql --pidfile=/tmp/mysql.pid

    2019-07-17 18:43:54
    赞同 展开评论