CodeIgniter Forums
Multiple database connections mysql and oci8 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Multiple database connections mysql and oci8 (/showthread.php?tid=48559)



Multiple database connections mysql and oci8 - El Forum - 01-20-2012

[eluser]Unknown[/eluser]
Is it possible to switch connections in an application. Most of my system work is connected to mysql however certain data i have to use comes via oracle using oci connections.


Multiple database connections mysql and oci8 - El Forum - 01-20-2012

[eluser]CroNiX[/eluser]
Sure, it's in the User Guide for databases under the connecting section.


Multiple database connections mysql and oci8 - El Forum - 01-20-2012

[eluser]Clooner[/eluser]
It's described in the user guide very clearly.

http://ellislab.com/codeigniter/user-guide/database/connecting.html




Multiple database connections mysql and oci8 - El Forum - 01-20-2012

[eluser]Unknown[/eluser]
thank you very much I will have a look

Aardwerc