MySQL Forums
Forum List  »  Newbie

Re: Where's the my.cnf??
Posted by: Mike Levin
Date: June 22, 2019 10:11AM

> MySQL on Mac OS defaults to no my.cnf,
> sample config files are said to be in /usr/local/mysql/support-files/.

sorry, to make sure I understand: are you saying that there's no /etc/my.cnf and that one of these files

% ls /usr/local/mysql/support-files/
binary-configure my-default.cnf mysql.server
magic mysql-log-rotate mysqld_multi.server

is the one it actually uses (my-default.cnf), or are those just *sample* files and the real one it uses on startup is elsewhere? Btw, I'm trying to set the main database to live on a specific drive on my machine, so presumably I need to find the real config file and set the database path before the first time I run the server and it creates everything?
thank you!

Options: ReplyQuote


Subject
Written By
Posted
June 22, 2019 08:06AM
June 22, 2019 08:25AM
Re: Where's the my.cnf??
June 22, 2019 10:11AM
June 22, 2019 10:48AM
June 22, 2019 01:32PM


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.