Which file in CodeIgniter is used to set up database connection details?
- config.php
- connections.php
- database.php
- db_config.php
In CodeIgniter, the database.php file is used to store and configure database connection details, including hostname, username, password, and database name. This centralizes database settings.
Loading...
Related Quiz
- In a multi-threaded application, an exception in one thread should be handled in a way that ________.
- What is the role of resource controllers in RESTful API development using CodeIgniter?
- Which directory contains the primary index.php file that serves as the entry point for a CodeIgniter application?
- How does token-based validation in forms help in preventing CSRF attacks?
- In a multi-environment setup, a developer uses CodeIgniter's ________ utility to manage different database configurations seamlessly.