MySQL replication - Debian quirks undocumented

Bug #240239 reported by Whit
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-5.5 (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: mysql-server-5.0

In the provided my.cnf file:

# note: if you are setting up a replication slave, see README.Debian about
# other settings you may need to change.

Yet the README.Debian only has a section called "FURTHER NOTES ON REPLICATION" (no initial notes, just a brief paragraph of "further notes" - did a vital section get cut here?). That section has nothing about other settings that need to be changed.

There is at least one important one. Importing the databases from the master will result in the "password" setting in /etc/mysql/debian.cnf being wrong on the slave; it needs to be changed to the password on the master. This is a Debian-only complication, not MySQL per se, so Debian should document it, yes?

There may at least one other, since replication isn't working yet for me, despite following the standard doc at mysql.com.

Revision history for this message
Whit (whit+ubuntu) wrote :

The one other would appear to be commenting out

bind-address = 127.0.0.1

in the master's my.cnf. This allows the slave to connect. (It would be better if that could be set to two addresses rather than the all-or-one choice, but evidently MySQL doesn't have that option?)

Revision history for this message
Mathias Gug (mathiaz) wrote :

Agreed - the section about setting up replication should be updated.

Changed in mysql-dfsg-5.0:
importance: Undecided → Wishlist
status: New → Triaged
Chuck Short (zulcss)
affects: mysql-dfsg-5.0 (Ubuntu) → mysql-5.1 (Ubuntu)
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Wishlist so moving to 5.5 since 5.1 isn't going to get updated for wishlist items.

affects: mysql-5.1 (Ubuntu) → mysql-5.5 (Ubuntu)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.