Failover database setup problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Failover database setup problem (/showthread.php?tid=77988) |
Failover database setup problem - Wawer - 11-16-2020 Hi, I have problem with database failover setup. In my application I use 3 databases: 1. users DB - postgres -simple configuration, 2. data DB - postgres 2 same database(but different versions) and 2 different servers one as failover 3. data DB - ingres 2 same database and 2 different servers -> odbc connection one as failover I test failover in codeigniter (version 3.1.9) switching off DB servers. For IngresDB ODBC there is no problem it switch to failover database. But for postgres I get an error: Code: [color=#4f5155][size=small]Severity: Warning[/size][/color] I am able to connect to the failover database without any problem (changing in database.php). There is my database.conf: PHP Code: $active_group = 'default'; Has someone same problem and know solution? |