在.my.cnf中配置自定义组? [英] Configuring custom groups in .my.cnf?
本文介绍了在.my.cnf中配置自定义组?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有不同的选项,如何获取emacs'sql-mysql'(或mysql)从.my.cnf读取一个自定义组?当从cli和emacs调用mysql时,我想知道我是否可以通过在.my.cnf中使用一个自定义组来实现这一点,例如:
[emacs]
选项...
一般来说,我可以要求mysql客户端读取一个自定义组吗?
Cheers,
Dan。
解决方案
一般来说,是的,您可以添加自定义组到my.cnf。 本文解释了如何。
How do I get emacs 'sql-mysql' (or mysql for that matter) to read a custom group from .my.cnf?
I have different options when calling mysql from the cli and within emacs, and, and I wondered if I could achieve this by using a custom group in the .my.cnf, i.e. something like:
[emacs] options...
In general, can I ask the mysql client to read a custom group?
Cheers, Dan.
解决方案
In general, yes, you can add custom groups to my.cnf. This article explains how.
这篇关于在.my.cnf中配置自定义组?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文