Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

MySQL Replication

Posted on 2011-09-14
2
Medium Priority
?
376 Views
Last Modified: 2012-06-21
Hi,

I am running a help desk package that uses MySQL 4.0.16.

I am going to be creating a Master and Slave setup described in the article:
http://dev.mysql.com/doc/refman/4.1/en/replication.html

The Slave Database will be running off site. My question is if the connection breaks between master and slave, will the slave automatically pick up  the replication after the connection is restored?
0
Comment
Question by:Dan560
2 Comments
 
LVL 24

Accepted Solution

by:
johanntagle earned 2000 total points
ID: 36535184
I think you will have to manually restart the slave.  That's why it's good to have a monitoring tool to check the slave status.  We use Nagios check_mysql_health plugin (http://exchange.nagios.org/directory/Plugins/Databases/MySQL/check_mysql_health/details) - it checks a lot of other things (actually, too many things in my opinion).  You can search the same site for other alternatives.
0
 
LVL 8

Expert Comment

by:wolfgang_93
ID: 36554906
MySQL version 4.1 is ancient. There were lots of bugs with replication in the earlier
versions of MySQL. You should looking at upgrading to MySQL 5.5 or version 5.1 for
reasonable replication.
0

Featured Post

 [eBook] Windows Nano Server

Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this blog post, we’ll look at how using thread_statistics can cause high memory usage.
The title says it all. Writing any type of PHP Application or API code that provides high throughput, while under a heavy load, seems to be an arcane art form (Black Magic). This article aims to provide some general guidelines for producing this typ…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month21 days, 5 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question