Welcome Guest, Not a member yet? Register   Sign In
CI4 .env file connecting to multiple databases not working
#3

(02-02-2021, 12:48 AM)kenjis Wrote: You need to add the property `second` in app/Config/Database.php.

https://github.com/codeigniter4/CodeIgni...se.php#L33

Thank you, that worked perfectly.

That should be documented in the https://codeigniter.com/user_guide/datab...h-env-file page of the docs as it wasn't said that is what is needed.
Reply


Messages In This Thread
RE: CI4 .env file connecting to multiple databases not working - by Kaosweaver - 02-02-2021, 05:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB