MySQL Forums
Forum List  »  Newbie

Finding location of MySQL option file
Posted by: Yada Khov
Date: December 09, 2009 02:47PM

Is there a way to find the filename and path of the MySQL configuration file that was loaded on server startup?

From the ref manual the defaults are:

For Windows:

WINDIR\my.ini, WINDIR\my.cnf
C:\my.ini, C:\my.cnf
INSTALLDIR\my.ini, INSTALLDIR\my.cnf

For *nix:
/etc/my.cnf
/etc/mysql/my.cnf
SYSCONFDIR/my.cnf
$MYSQL_HOME/my.cnf
~/.my.cnf

Options: ReplyQuote


Subject
Written By
Posted
Finding location of MySQL option file
December 09, 2009 02:47PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.