Setup multiple database in multiple environment |
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?
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
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/
|
Welcome Guest, Not a member yet? Register Sign In |