Click here to get back home

Replication through ssh tunnels

 HomeNewsGroups | Search | About
 mailing.database.mysql    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Replication through ssh tunnels Martin Andersen 09-05-2006
Get Chitika Premium
Posted by Martin Andersen on September 5, 2006, 4:00 am
Please log in for more thread options
Hi!

I have a problem with replication.
The master database resides on machine A, and the slave on machine B.
The replication is performed through an SSH tunnel. This SSH tunnel is
created using autossh to reestablish the connection if it times out or
is lost in any way.

However, whenever this ssh tunnel breaks, and restarts, the slave binary
log (relay log) is corrupted and the replication slave stops. This
happens daily, rendering the replication very unstable.

Anyone has an idea of any alternative method or any solutions to the
problem?

Any help is very appreciated.

Regards
/Martin Andersen

Mysql version:
$ mysqladmin --version
mysqladmin Ver 8.41 Distrib 5.0.22, for pc-linux-gnu on i486


Similar ThreadsPosted
Replication Lag May 8, 2006, 2:57 am
replication not working August 25, 2005, 7:38 pm
replication issue September 23, 2005, 5:09 pm
Replication using ssl rather than (telnet?) January 5, 2006, 12:03 pm
Questions on replication? February 23, 2006, 2:02 pm
Replication on only one server September 29, 2006, 12:30 pm
database replication help needed December 1, 2005, 3:16 pm
Repeating replication error February 2, 2006, 1:11 pm
Mysql Replication Problem April 21, 2006, 1:15 pm
replication bin logs issue May 26, 2006, 10:19 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap