MySQL Forums
Forum List  »  Replication

Re: Error 1535 | Table definition on master and slave does not match
Posted by: Rick James
Date: February 22, 2013 01:05AM

A non-replicated ALTER TABLE would be the fix, if it were just VARCHAR size. However, since it is a data encoding difference, there could be worse issues.

Do you have any rows with any non-ascii characters? Accented characters exist in both latin1 and utf8, but their encodings are different.

If it is all ascii, then a non-replicated ALTER should work (I guess).

If you have some non-ascii chars, then find out what you have in each machine, then we can discuss what to do.

Meanwhile, read
http://mysql.rjweb.org/doc.php/charcoll
for more insight. Note especially the SELECT HEX() suggestion.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Error 1535 | Table definition on master and slave does not match
1270
February 22, 2013 01:05AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.