In CodeIgniter, where are database connection settings typically defined?

  • In the autoload.php file
  • In the database.php configuration file
  • In the index.php file
  • In the routes.php configuration file
In CodeIgniter, database connection settings are typically defined in the database.php configuration file. This file is located in the config directory and allows you to specify database connection details such as database type, hostname, username, password, etc. It helps centralize and manage database configuration settings.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *