mysql my.cnf

One of the most common questions I get is related to the location of the my.cnf file (or my.ini).

The question comes in few variants:

  1.  I am setting the option xyz in my.cnf but it does not seem to work?
  2.  I can set the option xyz using. /mysql --zyx=abc but when I am placing it in my.cnf it does not take any effect?
  3.  I have my.cnf in /etc and on in /usr/local/mysql/etc/  which one should I use?
  4.  Where the f@&% is my my.cnf file !?!?

In MySQL the answer for the above questions are a little confusing.

haim 20/01/2010 - 10:03
Syndicate content