Mattz Posted March 4, 2012 Share Posted March 4, 2012 Hi Guys, I was wondering if it's possible to change the code somewhere and be able to connect to an array of MySQL Servers. So if the first fails, it will query the second, and so on. I hope someone can help out. Cheers, Matt Link to comment Share on other sites More sharing options...
tomerg3 Posted March 5, 2012 Share Posted March 5, 2012 Everything is possible... It will require overriding the DB / Mysql class and change the mysql_connect function to try a different host (which you could add to the default settings file.) Link to comment Share on other sites More sharing options...
Mattz Posted March 5, 2012 Author Share Posted March 5, 2012 True, it's code. But has someone already did this ? Maybe we can do something here in the topic with it ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now