安全相关配置:
expire_logs_days 7
max_allowed_packet 104857600
skip_name_resolve ON
sysdate_is_now 1
read_only OFF (从库中使用)
skip_slave_start 1 (从库中使用)
其他配置:
sync_binlog 1
tmp_table_size 33554432 (与tmp_table_size必须一致)
max_heap_table_size 33554432 (与max_heap_table_size必须一致)
max_connections 2000