don't active mysql binary log when there is no replication.