same application, multiple custumers (of which each one has it's own database) |
[eluser]skattabrain[/eluser]
[quote author="CI beyond" date="1204079657"]But that would still require me to parse connection information doesn't it? In that case i'd better extend database.php and do the parsing/selecting there. Are there any objections (security-related or otherwise) against this approach? Apart from 'not elegant' i can't think of anything else. Thnks for your thoughts! ![]() with most lamps i've been on ... each virtual host still accesses the same mysql install ... so as long as you know the user/pass ... any account on the box can access the same database. is this what your asking? [quote author="ccachor" date="1204080290"]Connect to the first database, look up the connection info based on the domain or subdomain, then pass in the connection info into another model. http://ellislab.com/codeigniter/user-gui....html#conn Then you have simple administration and when you have lots of customers you won't have a mess to deal with. That stuff will snowball...[/quote] agree |
Welcome Guest, Not a member yet? Register Sign In |