MySQL Forums
Forum List  »  Newbie

Re: mysql mysqladmin env. variables
Posted by: Jason Whitener
Date: August 24, 2015 05:04PM

I just saw this under mysql --help

Order in which my.cnf files are read.
/etc/my.cnf /etc/mysql/my.cnf /usr/local/mysql/etc/my.cnf ~/.my.cnf

Question: since root typically starts mysql using a --user=mysql, is the ~/.my.cnf file in /root/ or in the /home/mysql home directory?

Options: ReplyQuote


Subject
Written By
Posted
Re: mysql mysqladmin env. variables
August 24, 2015 05:04PM


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.