Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have my my.cnf with this setting

general_log =1
general_log_file = /var/log/mysqld.log

also had it before set to

log = /var/log/mysqld.log

I know I had this working at one point but when I went to go tail it today I noticed it wasn't working. I have the file in /var/log and this is the permissions

-rw-r--r-- 1 _mysql wheel 0 Jul 26 10:27 mysqld.log

It was

-rw-r--r-- 1 root wheel 0 Jul 26 10:27 mysqld.log

share|improve this question

I have binary logging enabled on OS X using a standard MySQL 5.5.15 package. It's logging to its default location (which is its own datadir, in this case /usr/local/mysql/data) Permissions are:

-rw-rw----     1 _mysql  wheel    5.6M  2 Feb 08:08 mysql-bin.000018

The folder itself is:

drwxr-xr-x    75 _mysql  wheel    2.5K  2 Feb 08:12 ./

If it's having trouble opening your log file, you should look in the error log which will tell you about any startup errors.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.