LoginSignup
11
10

More than 5 years have passed since last update.

レプリケーションを受けているMySQLを安全に停止したい

Posted at
SET GLOBAL innodb_fast_shutdown=0;
stop slave IO_THREAD;

してから

show slave status\G

してRead_Master_Log_PosExec_Master_Log_Posが一致していることを確認する

一致していたら

stop slave all;

してから止める

11
10
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
10