码迷,mamicode.com
首页 > 其他好文 > 详细

复制常用命令

时间:2017-09-14 00:42:00      阅读:155      评论:0      收藏:0      [点我收藏+]

标签:bsp   read   开启   star   slave   start   thread   常用   开始   

查看master复制状态:
show mster status\G;
 
查看slave复制状态:
show slave status\G;
 
开始复制:
start slave;
 
停止复制:
stop slave;
 
针对复制线程开启、关闭:
start slave io_thread;
start slave sql_thread;
stop slave io_thread;
stop slave sql_thread;

 

复制常用命令

标签:bsp   read   开启   star   slave   start   thread   常用   开始   

原文地址:http://www.cnblogs.com/liang545621/p/7518357.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!