Hello,
I like to use two database, a postgresql and a mysqli in my module. My settings.php looks like this:
$db_url['default'] = 'mysqli://user:pass@localhost:3370/allathletics'; $db_url['atleta'] = 'pgsql://user:pass@192.168.2.104/cds_atletabackup';
But when I try the
db_set_active('atleta');
I get the
Fatal error: Cannot redeclare db_status_report() (previously declared in /var/www/mysite/includes/database.mysqli.inc:23) in /var/www/demo.internetstudio.hu/allathletics/web/includes/database.pgsql.inc on line 33
Is there a solution for it, or I must to use two same database type?
Ámon Tamás Sitefejlesztő és programozó