![]() |
Database Redundancy
I was trying to set up my vbulletin so that my database was on 2 servers at once both with the same data if someone could tell me how to do this i would be very grateful. Thanks!
--------------- Added [DATE]1215492400[/DATE] at [TIME]1215492400[/TIME] --------------- Help please! |
MySQL replication?
|
Yes.
|
I just told you the answer. My post was more "have you tried MySQL replication?".
|
I really dont know what that is. How would i do mysql replication?
|
Google "MySQL Replication". The first few results will help you.
|
Ok it says slave db Could i just turn my forums off import the db to another host then Set the second host as slave db info in my config.php?
|
|
Im really trying to do it the easiest way possible... See above post with my question.
--------------- Added [DATE]1215509040[/DATE] at [TIME]1215509040[/TIME] --------------- And lets say that my host cut my service... if im using mysql replication would it clear the database on the slave? |
now the truth comes out lol
|
Anyone have an answer for me?
|
Quote:
|
I did read it and i didnt see an answer in there...
And with the built in slave function is that the same as mysql replication just built into vb? |
The answer is this...
You can use replication in mysql, mysql is the database software. In order to do what you are asking that is the answer, you need to learn about mysql and use the replication feature of it. The link above gives you a full how too on it. --------------- Added [DATE]1215845564[/DATE] at [TIME]1215845564[/TIME] --------------- Here are the links again in case you missed it. 18.1.1. How to Set Up Replication [+/-] 18.1.1.1. Creating a User for Replication 18.1.1.2. Setting the Replication Master Configuration 18.1.1.3. Setting the Replication Slave Configuration 18.1.1.4. Obtaining the Master Replication Information 18.1.1.5. Creating a Data Snapshot Using mysqldump 18.1.1.6. Creating a Data Snapshot Using Raw Data Files 18.1.1.7. Setting Up Replication with New Master and Slaves 18.1.1.8. Setting Up Replication with Existing Data 18.1.1.9. Introducing Additional Slaves to an Existing Replication Environment 18.1.1.10. Setting the Master Configuration on the Slave |
I was referring to the slave database option in the config.php is it basically the same thing as a mysql replication?
|
You need to setup MySQL replication (or rather, have synchronised MySQL servers), to use the slave database function.
|
So i just turn my forum offline do a sql dump import it to the new server and add the slave db info to my config.php then turn my forum back on and im done?
|
It seems you are in way over your head with this idea, I would recommend you hiring someone to take care of this for you.
|
Quote:
|
No, you cannot simply do that - your data will eventually be out-of-date.
|
You need to use both MySQL data replication and the slave database system. However it sounds like you are trying to do this on 2 different web hosts. Do NOT do this. Your forums will suffer dramatically.
|
Forget it. These guys are experts and when you ask them how to do something, no matter how ridiculous it is, they'll answer you.
You don't want any fancy replication at all. All you want is regular db backups. These can be done manually via Cpanel. There are also methods to set up automatic daily backups; do a search here. |
All times are GMT. The time now is 05:54 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|