How can i switch to slave database in case of master fail?
I have 2 MySQL instances. One is master and the second is a slave. I want to configure the rails app in a way that if the connection to my master database failed, then auto-connect to the slave dat...
hetal sharma posted