Can any one tell me where I can find the database information database name, user name and password in which files within drupal directories

Thank You

Comments

FanisTsiros’s picture

Database connection information is stored in \sites\default\settings.php file.

settings.php file is modified by Drupal when Drupal is installed. (I think you remember the required step to make a copy of the default.settings.php file and rename it settings.php) It is this file !

ReliabilityConsistencyFeedback

itsmemohit’s picture

I wonder why one of my databases is not displaying among the list of Mysql databases on the VPS. :-(

The settings.php of this particular Drupal installation is displaying a database name. However, there is no database with that name. Any ideas?

It's funny that all the 5 domains are working, but there are only 4 databases.

anushkau’s picture

Hi All,

Is there a way to find DB information from admin panel instead of settings.php ?

Thanks