MySQL 5.6 won't start on OS X - ambiguous option

Posted by MaticPetek on Server Fault See other posts from Server Fault or by MaticPetek
Published on 2012-06-10T08:02:37Z Indexed on 2012/06/10 10:41 UTC
Read the original article Hit count: 435

Filed under:

I would like to try MySQL 5.6 on my machine, but I cannot start it. I always get an error :

[ERROR] /usr/local/mysql-5.6.5-m8-osx10.6-x86/bin/mysqld: ambiguous option '--log=/var/log/mysqld.log' (log-bin, log_slave_updates)

my.cnf:

[mysqld]<br/>
pid-file=/usr/local/mysql-5.6.5-m8-osx10.6-x86/mysql.pid<br/>
log-error=/usr/local/mysql-5.6.5-m8-osx10.6-x86/data/mysql-error.log<br/>
log-slow-queries=/usr/local/mysql-5.6.5-m8-osx10.6-x86/data/mysql-slowquery.log<br/>
log-bin=/usr/local/mysql-5.6.5-m8-osx10.6-x86/data/mysql-bin.log<br/>
general_log_file=/usr/local/mysql-5.6.5-m8-osx10.6-x86/data/mysql-general_log_file.log<br/>
log=/usr/local/mysql-5.6.5-m8-osx10.6-x86/data/mysql.log<br/>

I try to set "log" and "log-bin" paramether in my.cnf file and also as start parameters for mysqld, but with no luck. Any idea what I can do? Thank you.

My environment:

OS X 10.6.8
mysql-5.6.5-m8-osx10.6-x86 (not _x64 version)

Note: I'm also running Mysql 5.5 on this machine (different port and socket). I also try to stop this instance but I get the some error.

© Server Fault or respective owner

Related posts about mysql