Tumblelog by Soup.io
Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

May 30 2011

Mysql Slave stoppen

Da ich grad bei der Mysqlreplikation Master und Slave gewechselt habe:
um den Slave zu entfernen (die entsprechenden Eintraege der /etc/mysql/my.cnf anpassen):

  1. STOP SLAVE;
  2. RESET SLAVE;

bei show slave status sollte dann nur noch ein

mysql> show slave status\G;
Empty set (0.00 sec)

kommen. Natuerlich auf dem Slave ausfuehren.