I was listening today to the OurSQL Episode 36: It's Not Our (De)fault! Part
1. As usual, Sheeri and Sarah are very informational and
entertaining while explaining the innards of MySQL and their best
practices.
Being a DBA oriented show, there was an omission in this podcast.
There was no mention of custom groups that you can have for your
my.cnf. This is mostly useful for developers. If your application
requires some specific settings, instead of using a separated
configuration file, you can use a different group, and then
instruct your client applications to use that group.
By default, all client applications read the "[client]"
group.
But you can tell your client to read a group that you can call
whatever you like.
For example, with this configuration file,
[client] …[Read more]