[mysqld]
datadir=/db_vol/datadir
socket=/var/lib/mysql/mysql.sock
port=3306
server_id=1
log-bin=/db_vol/log/mysql-bin.log
binlog-do-db=mydb
When I try to start MySQL, I get an error that says MySQL Daemon failed to start.
. If I comment out the log-bin
line then it loads fine. I'm trying to set up replication so I think I need log-bin
, but I'm not sure.