I have updated the database’s password, I would like to know which file store the Magento 2 database credentials. So I can update it manually
The path of database configuration file should be
/app/etc/env.php
In this file, you will see the following similar key and update with your own database credentials for Magento 2
“host” => “localhost”,
“dbname” => “database-name”,
“username” => “database-username”,
“password” => “databae-password”,