注: default-storage-engine 必须为innodb引擎 innodb_buffer_pool_size 512M为最低设置 max_allowed_packet最低设置为16M,建议48M。如果设置的较小,复制过程中将报错 "Packet for query is too large" innodb_flush_lot_at_trx_commit=2 and sync_binlog=1 ,此设置是为防止BinLog崩溃,如未设置,install过程中会报warn 之后重新启动MYSQL