I am using mysql I want to use the database for example which is located in server A and when if my connection is lost from server A it should automatically switch to my localhost database and when it is connected again it should switch to server A.
↧