![]() |
Sergey Kornilov admin 4/3/2015 |
In general it would work. I can imagine though that would a huge usability issue as users will be still able to use add/edit/delete functions and getting all kind of errors due to insufficient permissions or this user on the second server. This may not be an issue for emergency plan but smarter approach would be to hide all editing functions from the end user once you are switching to the backup server. Your application needs to be smart enough to recognize this situation and to hide add/edit/delete functions. |
A
|
Abul 4/4/2015 |
Why don't use Federated db function for MySQL? That means, from DBA point of view you can make server A as your replicated db call federated db on server B (B will be your original db). Now connect your application to the federated db on server A. db on A should connect to the db on B through local host connection under firewall for safety. your application will connect to the federated db on server A. |
M
|
mrphp author 4/7/2015 |
In general it would work. I can imagine though that would a huge usability issue as users will be still able to use add/edit/delete functions and getting all kind of errors due to insufficient permissions or this user on the second server. This may not be an issue for emergency plan but smarter approach would be to hide all editing functions from the end user once you are switching to the backup server. Your application needs to be smart enough to recognize this situation and to hide add/edit/delete functions. |
M
|
mrphp author 4/7/2015 |
In general it would work. I can imagine though that would a huge usability issue as users will be still able to use add/edit/delete functions and getting all kind of errors due to insufficient permissions or this user on the second server. This may not be an issue for emergency plan but smarter approach would be to hide all editing functions from the end user once you are switching to the backup server. Your application needs to be smart enough to recognize this situation and to hide add/edit/delete functions.
|
M
|
mrphp author 4/7/2015 |
Why don't use Federated db function for MySQL? That means, from DBA point of view you can make server A as your replicated db call federated db on server B (B will be your original db). Now connect your application to the federated db on server A. db on A should connect to the db on B through local host connection under firewall for safety. your application will connect to the federated db on server A.
|