nicolas nicolas - 1 month ago 20
MySQL Question

MySQL my.cnf location on OS X?

I'm trying to follow along this tutorial to enable remote access to mysql. The problem is, where should my.cnf be located? I'm using Mac OS X Lion.

Answer

This thread on the MySQL forum says:

By default, the OS X installation does not use a my.cnf, and MySQL just uses the default values. To set up your own my.cnf, you could just create a file straight in /etc.

OS X provides example configuration files at /usr/local/mysql/support-files/.

Comments