DeepDiverMom
Programmer
I inherited a 4.0.17-Max MySQL instance running just fine on Red Hat Linux rel. 9, kernel 2.4.20-8smp on an i686. (I am a neophyte MySQL DBA.)
As root, I have done, "find / -name my.cnf", with no results. My presumption is that MySQL looks for "my.cnf", but when it doesn't find the file, uses default values for instance parameters.
Could someone help me with answers to these questions:
1) Can you confirm that MySQL will start and run with default values for database parameters?
2) What query/command do I use to confirm current parameter values?
3) In which path do I place the "my.cnf" parameter file? And what is the typical format?
4) Recognizing that one size does not fit all, could someone post the contents of a sample production "my.cnf" parameter file so we can at least begin with sane/credible parameter values?
Thanks,
Becca
As root, I have done, "find / -name my.cnf", with no results. My presumption is that MySQL looks for "my.cnf", but when it doesn't find the file, uses default values for instance parameters.
Could someone help me with answers to these questions:
1) Can you confirm that MySQL will start and run with default values for database parameters?
2) What query/command do I use to confirm current parameter values?
3) In which path do I place the "my.cnf" parameter file? And what is the typical format?
4) Recognizing that one size does not fit all, could someone post the contents of a sample production "my.cnf" parameter file so we can at least begin with sane/credible parameter values?
Thanks,
Becca