Heim  >  Artikel  >  Datenbank  >  mysql 剔除从库

mysql 剔除从库

WBOY
WBOYOriginal
2016-06-07 16:27:061246Durchsuche

mysql 删除从库 mysql stop slave; Query OK, 0 rows affected (0.19 sec) mysql reset slave; 以上如果未清除,用下面 从库删除: mysql reset slave all; Query OK, 0 rows affected (0.04 sec) mysql show slave status\G; 用于mysql5.5或更高版本

mysql 删除从库
mysql> stop slave;  

 

Query OK, 0 rows affected (0.19 sec) 


mysql> reset slave;

以上如果未清除,用下面
从库删除:
mysql> reset slave all;  
Query OK, 0 rows affected (0.04 sec) 
mysql> show slave status\G; 

用于mysql5.5或更高版本
Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn