Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I can not found my.cnf at /etc ?

Where is it?

share|improve this question
How did you install Mysql? – Zoredache Sep 19 '12 at 7:15
i don't remember :( – Kronokrator Sep 19 '12 at 7:36
use this command: find / -name my.cnf – SvW Sep 19 '12 at 9:05
file not found ... – Kronokrator Sep 19 '12 at 9:07
go to /usr/local/mysql/support-files/, find my-small.cnf,my-medium.cnf my-large.cnf and my-huge.cnf files. and copy it to /etc/my.cnf. – Rikih Sep 19 '12 at 13:42
show 1 more comment

closed as not a real question by SvW, Ward, Tim Brigham, HopelessN00b, John Gardeniers Sep 20 '12 at 5:17

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, see the FAQ.

1 Answer

As in the comments, this will be located at:

/usr/local/mysql/support-files/

If desired, my-small.cnf, my-medium.cnf, my-large.cnf and my-huge.cnf can be copied to /etc/my.cnf.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.