1

Topic: Illegal mix of collations

Good afternoon.
At replication start I receive errors:
Last_SQL_Errno: 1366
Last_SQL_Error: Error ' Incorrect string value: '\xCD\xE8\xEA\xE8\xF5\xE8... ' for column
Or
Last_SQL_Errno: 1267
Last_SQL_Error: Error ' Illegal mix of collations (cp1251_general_ci, IMPLICIT) and (utf8_general_ci, COERCIBLE) for operation ' = "on query
In cmd installed chcp 1251, in requests I watch Russian letters.
I remove from the master, I load on  without errors.
The data on  I read normally, Russian letters.
Prompt where still to drip to overcome a problem of sortings/codings
Master
winxp+mysql5.5.23
Basis - cp1251, tables and columns - cp1251

+--------------------------+-----------
| Variable_name | Value
+--------------------------+----------
| character_set_client | cp1251
| character_set_connection | cp1251
| character_set_database | cp1251
| character_set_filesystem | binary
| character_set_results | cp1251
| character_set_server | cp1251
| character_set_system | utf8
+----------------------+-------------------+
| Variable_name | Value |
+----------------------+-------------------+
| collation_connection | cp1251_general_ci |
| collation_database | cp1251_general_ci |
| collation_server | cp1251_general_ci |
+----------------------+-------------------+
Slave
win10+mysql5.7.22
Basis-cp1251, the table and columns - cp1251

+--------------------------+-----------
| Variable_name | Value
+--------------------------+----------
| character_set_client | cp1251
| character_set_connection | cp1251
| character_set_database | cp1251
| character_set_filesystem | binary
| character_set_results | cp1251
| character_set_server | cp1251
| character_set_system | utf8
+----------------------+-------------------+
| Variable_name | Value |
+----------------------+-------------------+
| collation_connection | cp1251_general_ci |
| collation_database | cp1251_general_ci |
| collation_server | cp1251_general_ci |
+----------------------+-------------------+
In adjustments on both I use
[client]
default-character-set=cp1251
[mysql]
default-character-set=cp1251
[mysqld]
character-set-server = cp1251
collation-server=cp1251_general_ci
init_connect ='SET collation_connection = cp1251_general_ci'
init_connect ='SET NAMES cp1251'