当前位置:Gxlcms > 数据库问题 > mysql主从同步参数

mysql主从同步参数

时间:2021-07-01 10:21:17 帮助过:27人阅读

--log-slave-updates[={OFF|ON}] System Variable log_slave_updates Scope Global Dynamic No Type Boolean Default Value OFF

Whether updates received by a slave server from a master server should be logged to the slave‘s own binary log. Binary logging must be enabled on the slave for this variable to have any effect

  官方文档说明了,开启之后,就会在从库上记录主库的binlog。直接在配置文件中log-slave-updates=1也是可以的。

mysql主从同步参数

标签:whether   从库   文件中   https   sql   enable   system   mysql   5.7   

人气教程排行