Welcome Guest, Not a member yet? Register   Sign In
Connecting to multiple databases
#1

[eluser]dave80[/eluser]
I know how to connect to multiple databases simulataneouly, with CI.
However my question here, is it possible to connect to different database.

For example a user/client logs in, via a common database, which containe ALL client ids.
Depending on this client id, a session variable is established with the database they belong to. Depending on that session variable, whatever query takes place, occurs in that specific database.

I hope this mad sense. I just dont see the sense in connecing to multiple databases, when they are over 100 clients which equals 100 db. (each client has their own database, with one generic db, that contains ALL user/id/pass and DB they belong to.)

Thank you for any replies Smile


Messages In This Thread
Connecting to multiple databases - by El Forum - 02-10-2009, 05:58 PM
Connecting to multiple databases - by El Forum - 02-11-2009, 07:13 AM
Connecting to multiple databases - by El Forum - 02-16-2009, 07:55 AM
Connecting to multiple databases - by El Forum - 02-16-2009, 08:47 AM
Connecting to multiple databases - by El Forum - 06-13-2009, 04:50 AM
Connecting to multiple databases - by El Forum - 06-13-2009, 05:18 AM
Connecting to multiple databases - by El Forum - 06-13-2009, 05:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB