Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Mysql Rebooting replicated Master / Slave

$
0
0

OS Debian 7 Mysql 5.5 replicated Master / Slave

I have updated the kernel on the master and slave and wish to reboot both servers.

Can someone advise on the correct procedure?

I thought this may be correct:

On mysql slave: STOP SLAVE; FLUSH TABLES;

From OS on slave: /etc/init.d/mysql stop

I would reboot both servers at this point and then after the system has booted:

On mysql slave (the mysql daemon is configured to start on boot):

START SLAVE;

But I have heard that it may not work post Mysql 5.1.

Looking for advise. Thank you Rick


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>