bmildren/resource-agents — comment on commit 72031e5a6a644ce6d9a1ed2ec31d4dfb9bae294b
File:  line 0
By bmildren:

Hi

I haven't looked at this for a while tbh, the issue would be with
mysql 5.5+. The issue we had was the resource agent tries to unset
the replication configuration by setting the master_host to a blank
string, previous to mysql 5.5 this had the affect of nullifying the
configuration, however since mysql 5.5 this now causes an error. The
changes I made had the same effect, iir to provide a workaround I just
changed the host to a fake hostname.

Let me know if you need more info, and I'll try and revisit the code..

Hope this helps
Ben

On 12 October 2011 20:45, raoulbhatia

wrote:
> note to myself from http://dev.mysql.com/doc/refman/5.5/en/change-master-to.html:
>> Setting MASTER_HOST='' (that is, setting its value explicitly to an empty string) is not the same as not setting MASTER_HOST at all. Beginning with MySQL 5.5, trying to set MASTER_HOST to an empty string fails with an error. Previously, setting MASTER_HOST to an empty string caused START SLAVE subsequently to fail. (Bug #28796).
>
> i do not fully understand your changes :-/
> could you please
> 1. elaborate what you're doing there? is the ra still working with mysql prior to mysql 5.5?
> 2. rebase against current master/upstream?
>
> thanks,
> raoul
>
> --
> Reply to this email directly or view it on GitHub:
> https://github.com/bmildren/resource-agents/commit/72031e5a6a644ce6d9a1ed2ec31d4dfb9bae294b#commitcomment-647603
>