Commit a4771877 authored by Leigh Stoller's avatar Leigh Stoller

Add --binlog-format=MIXED to stop copious warnings to the mysql log

file.
parent d40c2f89
......@@ -27,16 +27,18 @@ else
opts="$opts -O tmp_table_size=32M -O max_heap_table_size=32M"
opts="$opts -O max_connections=500"
opts="$opts -O max_allowed_packet=16M"
fi
logopt="--log-long-format --log=@prefix@/log/mysql/base --log-bin=@prefix@/log/mysql/update --log-slow-queries=@prefix@/log/mysql/slowqueries"
logopt="--binlog-format=MIXED --log-long-format --log=@prefix@/log/mysql/base --log-bin=@prefix@/log/mysql/update --log-slow-queries=@prefix@/log/mysql/slowqueries"
if [ $major -eq 5 ]; then
safeprog=/usr/local/bin/mysqld_safe
if [ $minor -gt 1 ]; then
logopt="--general_log=1 --general_log_file=@prefix@/log/mysql/base"
logopt="$logopt --log-bin=@prefix@/log/mysql/update"
logopt="$logopt --slow_query_log=1 --slow_query_log_file=@prefix@/log/mysql/slowqueries"
logopt="$logopt --slow_query_log=1 --binlog-format=MIXED"
logopt="$logopt --slow_query_log_file=@prefix@/log/mysql/slowqueries"
# XXX awkward: no -O, a couple of name changes
opts="--default-storage-engine=MyISAM --long_query_time=2"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment