If you forgot the login credentials to your database, you can easily retrieve it from your wp-config.php
file.
For both standalone & cluster environment:
1. To access wp-config.php
, go to the Config of your Application Server by clicking on the wrench icon.
![](https://docs.mightybox.io/wp-content/uploads/2023/08/forgot-credentials-1.png)
2. Navigate to your webroot folder and open ‘ROOT‘
![](https://docs.mightybox.io/wp-content/uploads/2023/08/forgot-credentials-2-1024x389.png)
2. Inside your ‘ROOT‘ folder, you will find your wp-config.php
file which will contain your database username and password.
![](https://docs.mightybox.io/wp-content/uploads/2023/08/forgot-credentials-3-1024x396.png)