#开启2进制日志 log-bin = /etc/mysql/logs/mysql_bin binlog-format = Row server_id = 1 #开启查询日志,记录curd操作,日志较大,默认不开启 general_log = 1 general_log_file = /etc/mysql/logs/general_log.log #开启慢查询日志 slow_query_log = 1 long_query_time = 3
#开启2进制日志 log-bin = /etc/mysql/logs/mysql_bin binlog-format = Row server_id = 1 #开启查询日志,记录curd操作,日志较大,默认不开启 general_log = 1 general_log_file = /etc/mysql/logs/general_log.log #开启慢查询日志 slow_query_log = 1 long_query_time = 3