Magento 2. How to Find Out the Database Name

In this tutorial you’ll learn how to find the database name which you use for Magento installation.

  Go to your store core folder and open the env.php file under the app/etc folder.

zemez wordpress themes

Find the next code, where  database_name is actual database name which you use for your Magento 2 store.

array (
'host' => 'host_name',
'dbname' => 'database_name',
'username' => 'your_username',
'password' => 'your_password',
'active' => '1',
),
view raw .php hosted with ❤ by GitHub
monster one