How to update the database details in PHP CodeIgniter?
Please follow the steps below:
- Open file manager in cPanel, and go to the installation folder.
- Click on the application folder.
- Under config, you will find the database.php file.
- Scroll down, and you will find the exact location to insert the host name, database username, password and finally the database name.
- You can also change the existing database driver name.
- This is where you manage the database connections.