ChrisCodes.com

Secondary MySQL Connection

My host's MySQL server went down a few days ago. I switched over to a remote backup database, and they've fixed the problem, but it got me thinking. "I should have this done automatically!" You know..."just in case" it ever happens again.
So now I've added a secondary layer my database. If my main db is down, it opens a secondary connection to another MySQL database on another server. Not that this site is "mission critical" or anything, just nice to know I can!
Read my article for more info.

Chris keyed this in on: 2004-02-03
Filed in: Database, MySQL, PHP, Web Development, Webserver

Feed Icon

Copyright © 2009 Chris Martin