You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When registering as a slave we are using the wrong hostname. It should
be our hostname, not the hostname name of the server we are connecting
to.
Fixed issue with using the wrong variable.
We have a bug in writeRegisterSlaveCommand (https://github.com/siddontang/go-mysql/blob/master/replication/binlogsyncer.go#L414-L417) where we are using the host name of the server we are connecting to instead of the host we are on.
This makes is confusing when looking at the
show slave status
output on the master.We should just use os.Hostname() here.
The text was updated successfully, but these errors were encountered: