免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1403 | 回复: 0
打印 上一主题 下一主题

【求助】数据库无法同步,err文件请大家分析一下 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-02-02 16:37 |只看该作者 |倒序浏览
【求助】数据库无法同步,err文件请大家分析一下

两边的数据库版本一样都是4.0.23

主端系统是win2003
从端系统是win2000

slave端数据库启动:err文件记录如下:

[quote]050202 15:49:16  InnoDB: Started
050202 15:49:16 Slave SQL thread initialized, starting replication in log 'FIRST' at position 176, relay log '.\11111l-relay-bin.031' position: 254
MySql: ready for connections.
Version: '4.0.23-nt-log'  socket: ''  port: 端口  Source distribution
050202 15:49:45 Slave I/O thread: connected to master '账号@主端ip:端口',  replication started in log 'mysqllog.001' at position 176[/quote]




slave端里用mcc执行  slave stop之后 err文件就会出现:


[quote]050202 15:57:28 Error reading packet from server: Lost connection to MySQL server during query (server_errno=2013)
050202 15:57:28 Slave I/O thread killed while reading event
050202 15:57:28 Slave I/O thread exiting, read up to log 'mysqllog.001', position 1741
050202 15:57:28 Error reading relay log event: slave SQL thread was killed
050202 15:58:42 Slave SQL thread initialized, starting replication in log 'FIRST' at position 1741, relay log '.\11111-relay-bin.032' position: 1608[/quote]



然后再slave start ;err文件记录如下:

[quote]050202 15:58:42 Slave SQL thread initialized, starting replication in log 'FIRST' at position 1741, relay log '.\11111relay-bin.032' position: 1608[/quote]


====================================


之后测试数据库同步效果---失败,不能同步:cry;

还请各位老大指点 ;应该怎么办
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP