How To: open Mysql binary log
#server-id = 1 log-bin = /var/log/mysql/mysql-bin.log #if you set the expire_logs_days = x var in the [mysqld] section of your my.cnf it will automatically rotate your bin logs after x days. expire_logs_days = 30 #it will create a new log file when the current file reach the specified size. max_binlog_size = 100M
posted on 2007-11-13 15:49 wade 閱讀(455) 評論(0) 編輯 收藏 所屬分類: Mysql