Author Topic: Restart Replication After Master Reload  (Read 36 times)

Matt

  • Administrator
  • Jr. Member
  • *****
  • Posts: 77
    • View Profile
Restart Replication After Master Reload
« on: August 20, 2011, 04:53:19 AM »
Code: [Select]
STOP SLAVE;
Code: [Select]
FLUSH TABLES WITH READ LOCK;
Code: [Select]
SHOW MASTER STATUS; (record these valuse it will state name of file and position)

Code: [Select]
UNLOCKTABLES;
Code: [Select]
CHANGE MASTER TO MASTER_LOG_FILE='recorded_log_file_name',
CHANGE MASTER TO MASTER_LOG_POS=recorded_log_position;

Code: [Select]
START SLAVE;
250.5BHP & 266lb/ft