Automatic switch to backup database on fail

HyperDB is awesome. You shouldn’t worry about its dev date (which by the way, its being done by Automattic – the team behind WordPress).

HyperDB has some bigger advantages like spreading read/writes across servers and splitting them and its mostly used for such purposes (bigger scales).

In your case, I would go for a VIP VPS that would run Heartbeat, or a Failover service, since I do understand that your scope is HA and not Load Balancing.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)