etc/my.cnf file dosen’t exist on Mac OS

Are you getting the following error while trying to connect to the MySql server admin.


Installing the MySQL on the Mac OS X is just pretty easy to do but OS X dosen’t create the my.cnf in the /etc directory. But what it does to created some supportive files at /usr/local/mysql/support-files directory. In order to fix this, just copy the my-huge.cnf into the /etc directory.

open the terminal and browse to the following location

cd /usr/local/mysql/support-files

then, run the following command

sudo cp my-huge.cnf /etc/my.cnf

This should created a my.cnf file at /etc directory.



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s