I have a server that *was* working as a chained slave, but I can't get it to work again.
Server A is a master.
Server B is a slave to server A.
If I set up server C as a clone of server B, it happily serves as a slave to server A, just like server B. No problems.
But when I try to set up server C as a slave to server B, I get replication errors every time. I've tried it by doing a mysqldump of server B, and I've tried it by copying the file system from server B, but no matter what I do, I get replication errors like this:
What's killing me is that it worked as a slave to server B before, but rebuilding it is failing every time.
What else can I look for here?
Server A is a master.
Server B is a slave to server A.
If I set up server C as a clone of server B, it happily serves as a slave to server A, just like server B. No problems.
But when I try to set up server C as a slave to server B, I get replication errors every time. I've tried it by doing a mysqldump of server B, and I've tried it by copying the file system from server B, but no matter what I do, I get replication errors like this:
[ERROR] /usr/libexec/mysqld: Incorrect key file for table './dbname/session.MYI'; try to repair it
What's killing me is that it worked as a slave to server B before, but rebuilding it is failing every time.
What else can I look for here?