设为首页 加入收藏

TOP

mysql数据库同步debug(二)
2014-11-23 23:37:29 来源: 作者: 【 】 浏览:26
Tags:mysql 数据库 同步 debug

-> MASTER_USER=’replication_user_name’,

-> MASTER_PASSWORD=’replication_password’,

-> MASTER_LOG_FILE=’recorded_log_file_name’,

-> MASTER_LOG_POS=recorded_log_position;

## Note:slave’s file and pos must be the same with with master’s ##

8、master

mysql >unlock tables;

9、slave

mysql >show slave status \G

## Note: Seconds_behind_master=0

## Slave_IO_Running=YES,Slave_SQL_Running=YES

10、checking the slave’s database updated real-time whether or not

本文出自 “迈小步、不停步!” 博客

首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇MYSQL5.1 WINDOWS环境下导出查询.. 下一篇SQLServer(2008)中通过触发器进..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: