Magento 2
How to find the Magento 2 database credentials using the command line?
Administration
env.php
,
credentials
,
grep
,
command-line
,
database
dmitrii_fediuk
(Dmitrii Fediuk)
November 22, 2016, 11:26am
1
grep -E "host|dbname|username|password|table_prefix" app/etc/env.php
How to find the Magento 2 backend's base URL using the command line?
app/etc/env.php — the place where Magento 2 stores the database credentials, backend URL, enabled cache types, etc
dmitrii_fediuk
(Dmitrii Fediuk)
November 22, 2016, 11:28am
2
See also:
app/etc/env.php
-tagged articles
How to find the Magento 2 store’s
root URL
using the
command line
?
How to find the Magento 2
backend’s base URL
using the
command line
?
How to find the Magento 2
database credentials
using the command line?