Bug #66916 | Error creating master info: Error while checking replication metadata | ||
---|---|---|---|
Submitted: | 21 Sep 2012 18:05 | Modified: | 25 Feb 2013 17:10 |
Reporter: | Ernesto Rodriguez | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S1 (Critical) |
Version: | 5.6.6-m9.1 | OS: | Windows (Server 2008 R2) |
Assigned to: | CPU Architecture: | Any |
[21 Sep 2012 18:05]
Ernesto Rodriguez
[21 Sep 2012 19:42]
MySQL Verification Team
Please describe step by step how you tried to setup master/master. Thanks.
[21 Sep 2012 21:34]
Ernesto Rodriguez
added to server 1 my.ini # Binary Logging. log-bin="MYSQLDEV02-bin" server-id=1 auto_increment_increment=2 auto_increment_offset=1 relay-log="MYSQLDEV02-relay-bin" relay-log-index="MYSQLDEV02-relay-bin.index" added to server 2 my.ini # Binary Logging. log-bin="MYSQLDEV03-bin" server-id=2 auto_increment_offset=2 auto_increment_increment=2 relay-log="MYSQLDEV03-relay-bin" relay-log-index="MYSQLDEV03-relay-bin.index" Restarted both server ran CHANGE MASTER TO command and i get the following error: Master_host=*** master_port=*** Master_user=*** Master_password=*** master_log_file=*** master_log_pos=** ERROR 1794 (HY000): Slave is not configured or failed to initialize properly. Yo u must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
[21 Sep 2012 21:56]
MySQL Verification Team
Thank you for the feedback. You provided the configuration files contents not the step by step you did. Thanks.
[24 Sep 2012 21:32]
Ernesto Rodriguez
The attached step by step is what I used to create a mater-mater setup in mysql 5.5.27 and it works great. However when I try to follow the same steps in 5.6.6 I get stuck on STEP 6b with the following error: ERROR 1794 (HY000): Slave is not configured or failed to initialize properly. You must at least set --server-id to enable either a master or a slave. Additional error messages can be found in the MySQL error log.
[22 Oct 2012 15:36]
Mannoj S
I opted 5.6.6-m9-log as it has MASTER_DELAY = 60 option. But stuck in the same issue. Please look into it. Thanks!!
[12 Dec 2012 14:33]
Serge Kozlov
I've tested bug#66916 for mysql 5.6.6, 5.6.8. I couldn't reproduce the failure by steps described above. I still think that the issue based on the missed or corrupted slave_master_info.ibd file. If the reporter can provide more details for the bug report (my.cnf, fresh/upgrade installation, etc) I can try to find again.
[29 Dec 2012 16:56]
Erlend Dahl
Serge, we have similar cases in Bug#67179 and Bug#67595 caused by the Win installer copying .idb files around. It should be fixed in 5.6.10.
[25 Jan 2013 17:10]
Sveta Smirnova
Thank you for the feedback. Please read Erlend's comment and either wait when version 5.6.10 is released or copy datadir from *zip package.
[26 Feb 2013 1: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".