MySQL配置文件部分 [英] Mysql configuration file sections

查看:71
本文介绍了MySQL配置文件部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图了解my.ini配置文件中的不同部分([client],[mysqld],[mysql]),依此类推,我正在寻找一个指南,该指南描述了my.ini的每个可选部分. .ini文件,我也想知道 init_connect init-connect 有什么区别,我的意思是下划线(_)和连字符(-)之间的区别,谢谢所有人,祝您有个愉快的一天.

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 optional sections for the my.ini file, Also I was wondering what is the difference between init_connect and init-connect and I mean between the underscore(_) and the hyphen(-), Thank you all and have a nice day.

推荐答案

[mysql] 适用于mysql命令行客户端-

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

[客户端] 适用于所有连接的客户端(包括mysql cli)-

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

[mysqld] 适用于mysql服务器- [服务器选项]

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

[mysqldump] 适用于同名的实用程序- [mysqldump选项]

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

...等

(-)和(_)之间的区别在于使用它的上下文.

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.

您可以在文档中看到更多信息: http://dev.mysql.com/doc/refman/5.5/en/option- files.html

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

这篇关于MySQL配置文件部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆