CodeIgniter Forums
Connecting to Postrgre and MySQL Databases - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: Connecting to Postrgre and MySQL Databases (/showthread.php?tid=31889)



Connecting to Postrgre and MySQL Databases - El Forum - 07-05-2010

[eluser]Unknown[/eluser]
This has been killing me for 4 days...I hope someone can help. =/

So I have a MySQL based web app that integrates data pulled from a Postgre database (the RDBMS of choice from our outside vendor). I am switching the entire app over to CI since I've been asked to document everything and my previous custom PHP - though it works perfectly fine - is an absolute mess.

In the early stages of development, I can't seem to connect to both the MySQL and Postgre DBs. I'm able to connect and interact with one; but when I interact with the other, no such luck. They both work; just not simultaneously. I've done tons of research and tried just about every possible solution with no luck.

Is this a driver issue?


Connecting to Postrgre and MySQL Databases - El Forum - 07-06-2010

[eluser]anthrt[/eluser]
http://ellislab.com/codeigniter/user-guide/database/connecting.html

See the section at the bottom