こんな感じかな
それぞれ鍵認証無効化、ホスト鍵チェックの無効化
ssh -o "PubkeyAuthentication no" hogehost ssh -o "StrictHostKeyChecking no" hogehost
ssh -o "PubkeyAuthentication no" hogehost ssh -o "StrictHostKeyChecking no" hogehost
mysql> FLUSH LOGS; $ mysqldump --order-by-primary --single-transaction --master-data -uroot -p'passwd' databasename > databasename.dump mysql> show master status;
mysql> stop slave; mysql -uroot -p'passwd' databasename < databasename.dump mysql> start slave; mysql> show slave status;