Which File Store Magento 2 Database Credentials

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”,

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments