Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have MySQL Server 5.1 installed on my computer (complete), and I can't seem to find the my.cnf file. I don't even have the etc directory. And I've also done a complete search for it but no results... Can anyone help me out here?

share|improve this question

closed as not a real question by Skyhawk, Shane Madden, John Gardeniers, Iain, Mark Henderson Jan 23 '12 at 10:36

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Please tag the question to indicate which OS you're running, as it affects the answer. – John Gardeniers Oct 27 '09 at 0:47

Are you using windows?

/etc is a *nix configuration directory so I am guessing you are running MySql in Windows.

See this page regarding the my.cnf file on windows.

share|improve this answer

on unix:

locate my.cnf
share|improve this answer