Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By divyeshvk on
which drupal files are responsible for the database connectivity in drupal
Comments
Configuration of db
Configuration of db connection (and configs of other things) is in YOUR_DRUPAL_FOLDER/sites/default/settings.php file
DB code files are in YOUR_DRUPAL_FOLDER/includes folder (database.inc, database.mysqli.inc, database.mysql.inc, database.pgsql.inc files)
---
Drupal Theme Garden