Read. Perhaps it is a solution. Use the command on your replication db.
[SOLVED] Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes