Добрый день
Замечаю уже второй день проблему с репликацией mysql между двумя серверами1) Сервер mysql - Master
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 475750
Server version: 5.1.49-3-log (Debian)
mysql> show variables like '%char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | cp1251 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | cp1251 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
mysql>
2) Slave сервер
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 77239
Server version: 5.1.49-3-log (Debian)
mysql> show variables like '%char%';
+--------------------------+----------------------------+
| Variable_name | Value |
+--------------------------+----------------------------+
| character_set_client | latin1 |
| character_set_connection | latin1 |
| character_set_database | cp1251 |
| character_set_filesystem | binary |
| character_set_results | latin1 |
| character_set_server | cp1251 |
| character_set_system | utf8 |
| character_sets_dir | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)
Вроде все ОК
Данные в базу клиентскую на мастер вносятся при репликации выдает ошибку
Last_SQL_Error: Error 'Incorrect string value: '\x88 \xD0\xBB\xD0\xB0...' for column 'message' at row 1' on query. Default database: 'user281_mc'. Query: 'REPLACE DELAYED INTO xf_search_index
(content_type, content_id,
title, message, metadata,
item_date, user_id, discussion_id)
VALUES
('post', 45, '', 'п²п╟ я│я┌я─п╟пҐп╦я┤п╨п╣ я└п╬я─я┐п╪п╟ п╣я│я┌я▄ я─п╟пЇпЄп╣п╩ \"п▓я│п╣ пҐп╣п╬п╠я┘п╬пЄп╦п╪п╬п╣ пЄп╩я▐ п╦пЁя─я▀\".\nп²п╟пЄп╬ пҐп╟я┬ п╩п╟я┐пҐя┤п╣я─ я│п╨п╟я┤п╟я┌я▄, п╬пҐ я│п╨п╟я┤п╟п╣я┌ п╡я│п╣ пҐп╣п╬п╠я┘п╬пЄп╦п╪п╬п╣.', '_md_user_1 _md_content_post _md_node_9 _md_thread_23', 1332584413, 1, 23)'
ну вместо кракозябликов русский текст
помогите решить данную проблему спасибо!