Mysql configuration file sections

后端 未结 1 377
自闭症患者
自闭症患者 2021-02-02 14:42

I am trying to understand the different sections inside the my.ini configuration file ([client], [mysqld], [mysql]) and so on, I am looking for a guide describing each of the op

相关标签:
1条回答
  • 2021-02-02 15:33

    [mysql] applies to the mysql command line client - [mysql and client options]

    [client] applies to all connecting clients (including mysql cli) - [mysql and client options]

    [mysqld] applies to the mysql server - [server options]

    [mysqldump] applies to the utility of the same name - [mysqldump options]

    ...etc

    The difference between the (-) and the (_) is the context in which it is used.

    (-) is used in command line parameters, where (_) is used in options file parameters.

    You can see more in the docs: http://dev.mysql.com/doc/refman/5.5/en/option-files.html

    0 讨论(0)
提交回复
热议问题