I am trying to enable binary log in order to create master slave for my DB.
MySQL version is 5.1.41-3ubuntu12.10-log
I have added this to my.cnf
log_bin = /var/log/mysql/mysql-bin.log expire_logs_days = 1 max_binlog_size = 100M
$ ls -l /var/log/mysql/mysql-bin.log -rw-r--r-- 1 mysql root 0 2011-07-06 17:17 /var/log/mysql/mysql-bin.log
Now when I try to stop/start MySQL the starting process goes forever and I was forced to comment those entries in my.cnf to start MySQL again.
Anybody faced such problem? Any idea is highly appreciated.