Bug #30227 | mysql error 1267 on replication system | ||
---|---|---|---|
Submitted: | 3 Aug 2007 10:53 | Modified: | 22 Dec 2007 18:21 |
Reporter: | Jens Knoop | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0.32-Debian_7etch1 | OS: | Linux (Debian 4.0) |
Assigned to: | CPU Architecture: | Any | |
Tags: | 1267 replication Error 'Illegal mix of collations (latin1_german1_ci, IMPLICIT) and (latin1_swedish_ci, IMPLICIT) for operation '='' on query |
[3 Aug 2007 10:53]
Jens Knoop
[3 Aug 2007 10:57]
Jens Knoop
one more information: the error doesn't occur on the live-server.
[3 Aug 2007 11:05]
Sveta Smirnova
Thank you for the report. But version 5.0.32 is quite old. Please upgrade to current version 5.0.45/5.0.46, try with it and if you can repeat error provide configuration files for both master and slave. Also provide output of SHOW GLOBAL VARIABLES LIKE 'char%'; and SHOW GLOBAL VARIABLES LIKE 'coll%'; on both master and slave.
[3 Aug 2007 11:29]
Jens Knoop
hi sveta, thank you for the quick answer! version 5.0.32 is the stable package of debian 4.0 - and it's our policy to use the stable debian releases. so i think: no chance to upgrade on suspicion. is this bug know for older mysql-releases? in a forum i found a simmilar report for mysql 4.1.x and the recommendation was to upgrade to a current version. 5.0 sounds more up-to-date than 4.1 ... Standby-Server ============== mysql> SHOW GLOBAL VARIABLES LIKE 'char%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | latin1 | | character_set_connection | latin1 | | character_set_database | latin1 | | character_set_filesystem | binary | | character_set_results | latin1 | | character_set_server | latin1 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.00 sec) mysql> SHOW GLOBAL VARIABLES LIKE 'coll%'; +----------------------+-------------------+ | Variable_name | Value | +----------------------+-------------------+ | collation_connection | latin1_swedish_ci | | collation_database | latin1_swedish_ci | | collation_server | latin1_swedish_ci | +----------------------+-------------------+ 3 rows in set (0.00 sec) Live-Server =========== mysql> SHOW GLOBAL VARIABLES LIKE 'char%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | latin1 | | character_set_connection | latin1 | | character_set_database | latin1 | | character_set_filesystem | binary | | character_set_results | latin1 | | character_set_server | latin1 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.00 sec) mysql> SHOW GLOBAL VARIABLES LIKE 'coll%'; +----------------------+-------------------+ | Variable_name | Value | +----------------------+-------------------+ | collation_connection | latin1_swedish_ci | | collation_database | latin1_swedish_ci | | collation_server | latin1_swedish_ci | +----------------------+-------------------+ 3 rows in set (0.00 sec) regards, jens
[22 Nov 2007 18:21]
Sveta Smirnova
Jans, thank you for the reply. But what are the stand-by and live-by servers? Is some of them master and other is slave? We need output of these statements from both master and slave.
[23 Dec 2007 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".