LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Where does Slack (12.2) get its default MySQL configuration settings? (https://www.linuxquestions.org/questions/slackware-14/where-does-slack-12-2-get-its-default-mysql-configuration-settings-716194/)

dizzi 04-01-2009 07:57 PM

Where does Slack (12.2) get its default MySQL configuration settings?
 
The default Slack MySQL installation comes with no "/etc/my.cnf" but still works fine. Where does MySQL read its configuration settings? Which of the four examples "my-small.cnf", "my-medium.cnf", "my-large.cnf", "my-huge.cnf" available in the "/etc" directory represents the default settings?

Cheers

bgeddy 04-01-2009 08:54 PM

As far as I know none of the supplied four my-files are read to get the defaults. I believe the defaults are built into the database engine and applied when no configuration file exists. To see what defaults are built in run this :
Code:

/usr/libexec/mysqld --no-defaults --verbose --help

dizzi 04-02-2009 03:40 PM

Ah thanks for the information bgeddy.


All times are GMT -5. The time now is 05:26 PM.