MySQL Replication: 从库错误

| | Comments (0) | TrackBacks (0)

有台MySQL从库报错如下:

080211 22:18:44 Slave I/O thread: Failed reading log event, reconnecting to retry, log 'Content3325.013' position 741096772
080211 22:18:44 Slave: connected to master '****@****:3306',replication resumed in log 'Content3325.013' at position 741096772
080211 22:18:44 Slave: received 0 length packet from server, apparent master shutdown:

记录处理过程

断定是server-id相同了
先在master服务器看一下server-id

show slave hosts;

找到设置不正确的服务器并更正为正确的server-id

slave starat;

好了,搞定了。

0 TrackBacks

Listed below are links to blogs that reference this entry: MySQL Replication: 从库错误.

TrackBack URL for this entry: http://blog.khsing.net/cgi-bin/mt-tb.cgi/5

Leave a comment

About this Entry

This page contains a single entry by Guixing published on February 11, 2008 10:36 PM.

遇上oom-killer was the previous entry in this blog.

MFC是什么东东? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Pages

Powered by Movable Type 4.21-en