473,763 Members | 3,855 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

When mysql ruinned by Disaster

--=====000_Dragon 621152387636_== ===
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: 7bit

Hello, mysql,

We have 1 master and salve in my lan.

If the master failed,coze the unrecoverable disaster.

At that time,I want to make the slave to be the master instead of the orginial one.

Do you agree my following step?

0.Stop slave.

1.All java program operating database should redirect to the new master mysql which it acts as slave before the master failed..

2.Copy the new master data to the third computer,and make the third mysql replicate the new master.

3.Start replicate

But the ip address would change too.It seems hard to slove this,if I doesn't reset the dns.

Any idea would be applicated.


Best regards.

MaFai
zh***@hkbn.com. hk
2003-07-29
--=====000_Dragon 621152387636_== ===
Content-Type: text/plain; charset=us-ascii

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw
--=====000_Dragon 621152387636_== ===--

Jul 19 '05 #1
0 1052

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1788
by: Heinz | last post by:
Hi there Out of curiosity .... Long time ago I was working with Infomix (now IBM) Universal Server, that had a data type 'html' implemented as data blade. Through data blades you could extend the sql engine with your own data types. Can't remember exactly how it worked but you could store html with embedded 'sql code' in the database.
0
1199
by: MaFai | last post by:
--=====000_Dragon621152387636_===== Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: 7bit Hello, mysql, We have 1 master and salve in my lan. If the master failed,coze the unrecoverable disaster.
3
1626
by: John Smith | last post by:
Hi I am currently reviewing our backup procedures. Part of the issue has been finding the right fit. There are obviously backup products that provide mysql agents but unfortunately can not for fill our complete backup/disaster requirements. I have evaluated bakbone, arkeia, brightstor, veritas. I am currently looking at evault, commvault and ipstor. I am now looking to separate mysql from the rest of the backup. I am looking to...
12
2268
by: Martin_Hurst | last post by:
It would appear that MySQL is making great strides into the commercial and even the enterprise arena. I am not seeing the same news coverage being said about Postgresql. I believe Postgresql has been a much better rdbms than MySQL for a long time, so then why has not Postgresql grabbed the commercial and enterprise arena before MySQL did? -------------------------------------------------------------------------------------------...
3
2269
by: Marek Lewczuk | last post by:
Hello, I have changed DB from MySQL to PostgreSQL. When I have run my application on PostgreSQL it was disaster - it was much slower than MySQL... I have tried to change PG configuration file etc.. no luck. After many long days of thinking what is wrong I have made several tests with "EXPLAIN" statement, and to my amusement there was many SeqScan - MySQL didn't show that things. I have made some changes in PG db structure (new indexes...
3
5771
by: eieiohh | last post by:
MySQL 3.23.49 PHP 4.3.8 Apache 2.0.51 Hi All! Newbie.. I had a CRM Open Source application installed and running. Windows Xp crashed. I was able to copy the contents of the entire hard drive onto a USB External Hard Drive. I have to assume I also copied the data. I
2
1514
by: Dave | last post by:
Hello, Mysql3 on an fc3 box. I do not have the root password for mysqld yet i need to copy a database let's call it database1 to database2. This is for a site testing purpose, it's to be an exact copy of database1, yet the two databases do not have to be kept in sync after the copy. Any advice appreciated. Thanks. Dave.
110
10624
by: alf | last post by:
Hi, is it possible that due to OS crash or mysql itself crash or some e.g. SCSI failure to lose all the data stored in the table (let's say million of 1KB rows). In other words what is the worst case scenario for MyISAM backend? Also is it possible to not to lose data but get them corrupted?
15
2686
by: harvey | last post by:
How do I make PHP create a database for mysql please? I can see how to make tables and I have read all the documents I can find but I don't understand how to make the database itself. All the tutorials I can find seem to bypass the issue by ignoring it? Am I missunderstanding something?
2
1706
by: bravo | last post by:
hello every one i have previously posted problem regarding using join on huge data set say(records upto 10 million) . but didnt get satisfactory reply.... what i found that if i use join it brings disaster .... but if i cant use joins then how to tackle situation where the output is obtained by running query on both tables... in mysql is there any solution to it....ie any alternative to joins... any suggestions or links thanks in...
0
9566
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10149
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9828
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8825
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7370
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6643
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5410
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3529
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2797
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.