Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 4 - How to connect to two or multiple databases
#1

(This post was last modified: 01-28-2024, 03:16 AM by Corsari.)

Hello
searching on the forum I have found only two really old topics (2007 and 2008) about how to connect to two or more databases
the manual is also a bit cryptic
https://codeigniter.com/user_guide/datab...-databases
because it doesn't detail about if just and only the .env file has to be edited or just and only the app/Config/Database.php has to be edited
... or if they should be edited BOTH accordingly
(well it really tells nothing, since the manual here looks conceived for gurus Shy )

I suppose that thing with current Codeigniter 4 could be slightly changed

so, accordingly to this forum section title Smile , thank you in advance for sharing the best practice for configuring the connection to two databases in Codeigniter 4
Reply


Messages In This Thread
Codeigniter 4 - How to connect to two or multiple databases - by Corsari - 01-28-2024, 03:13 AM



Theme © iAndrew 2016 - Forum software by © MyBB