Title: Database Rescue
Last modified: August 20, 2016

---

# Database Rescue

 *  [Cyril](https://wordpress.org/support/users/chavret/)
 * (@chavret)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/database-rescue/)
 * Hello world,
 * I wish modify wp-config.php for to create a automatic system of “Database Rescue”.
 * The Visitor visit my website –> if database1.mywebsite.com isn’t disponible –
   > then wp-config.php use database2.mywebsite.com .
 * Purpose I do not know how to make (please if possible to post a clear code because
   I amator in computing).
 * Thank you very much. 😉
 * Sorry for my bad english.

The topic ‘Database Rescue’ is closed to new replies.

## Tags

 * [database](https://wordpress.org/support/topic-tag/database/)
 * [wp-config.php](https://wordpress.org/support/topic-tag/wp-config-php/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 0 replies
 * 1 participant
 * Last reply from: [Cyril](https://wordpress.org/support/users/chavret/)
 * Last activity: [14 years, 3 months ago](https://wordpress.org/support/topic/database-rescue/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
