2
I’m having a doubt, let’s start in a system the question of database redundancy, but as the codeigniter will know that there is another base if the main one is inactive?
There is something of its own for codeigniter to identify this second base?
2
I’m having a doubt, let’s start in a system the question of database redundancy, but as the codeigniter will know that there is another base if the main one is inactive?
There is something of its own for codeigniter to identify this second base?
Browser other questions tagged php mysql codeigniter
You are not signed in. Login or sign up in order to post.
Basically I thought of something that tests the connection before, in case the first is unavailable it enters the next one, since the database is the same, the only thing that would change is the server ip. For example: IF(CONNECTION) assumes hostname X ELSE assumes hostname Y
– MHPA