Configuring custom groups in .my.cnf?

依然范特西╮ 提交于 2020-01-04 05:33:10

问题


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.


回答1:


In general, yes, you can add custom groups to my.cnf. This article explains how.



来源:https://stackoverflow.com/questions/8772032/configuring-custom-groups-in-my-cnf

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!