Welcome Guest, Not a member yet? Register   Sign In
Setup multiple database in multiple environment
#1

Hi,
I am setup the database, but have this situation, I have 3 database localhost1, localhost2, localhost3 and I need setup this 3 database in my environment development, tests and production, how can do this?
Reply
#2

I am using a codeigniter 4
Reply
#3

The easier way to do that is having a different .env file on each server with the right configuration for each environment.
See this page for more info: http://codeigniter.com/user_guide/genera...ments.html
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Reply
#4

Facing the same database connection problem but I have the solution provided in this thread is helpful for me.
For all the training guide and practical test you can get help from https://attariclasses.in/
Reply




Theme © iAndrew 2016 - Forum software by © MyBB