splitting database |
Hi folks
possible to define multiple databases for multiple applications (under one codebase)? Which files need to be modified? (short list sufficient...) Greets G.
So one database per application (domain?). Or multiple databases for multiple domains?
https://codeigniter4.github.io/userguide..._apps.html https://codeigniter4.github.io/userguide...cting.html You can always force settings in multiple index.php, loading different database (or other config) settings. Or load it from Enviroments: https://codeigniter4.github.io/userguide...ments.html
Thanks man, will check it out later...
For your convenience... I have foreseen a setup with one application and one database per domain if feasable which I don't know now but will know after I studied your proposals I guess. Thanks && Cheers
Okey, I would then switch database by providing different environments from nginx/apache if you have direct access. Or you need multiple index.php files.
|
Welcome Guest, Not a member yet? Register Sign In |