#########################

 

当主从切换时,旧主库设置为只读:set  global read_only = 1;那么会有那么几秒报错:报错如下:

 

The MySQL server is running with the --read-only option so it cannot execute this statement

 

 

mysql主从切换

 

 

 

 

########################

相关文章:

  • 2021-09-12
  • 2021-12-11
  • 2022-12-23
  • 2022-12-23
  • 2021-08-04
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2021-10-06
相关资源
相似解决方案