Binary logging is enabled by default (the log_bin system variable is set to ON). The exception is if you use mysqld to initialize the data directory manually by invoking it with the --initialize or --initialize-insecure option, when binary logging is disabled by default. It is possible to enable binary logging in this case by specifying the --log-bin option.

 

To disable binary logging, you can specify the --skip-log-bin or --disable-log-bin option at startup. If either of these options is specified and --log-bin is also specified, the option specified later takes precedence.

 

配置文件中加--skip-log-bin或者是--disable-log-bin

相关文章:

  • 2021-10-04
  • 2021-08-14
  • 2021-06-15
  • 2022-01-13
  • 2022-01-01
猜你喜欢
  • 2021-09-26
  • 2021-10-19
  • 2022-01-06
  • 2021-08-23
  • 2021-05-28
  • 2021-12-17
相关资源
相似解决方案