MySQL設置binlog

[mysqld]mysql


# Remove leading # and set to the amount of RAM for the most important datasql

# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.socket

# innodb_buffer_pool_size = 128Mui


# Remove leading # to turn on a very important data integrity option: loggingspa

# changes to the binary log between backups.orm

# log_binserver

log-bin = /usr/local/mysql/log/binlogrem

log-bin-index = /usr/local/mysql/log/binlogindexit

max_binlog_size = 4096io

binlog_format = ROW


# These are commonly set, remove the # and set as required.

# basedir = .....

# datadir = /usr/local/mysql/data

# port = .....

# server_id = .....

socket = /tmp/mysql.sock

相關文章
相關標籤/搜索