Where can I find my MySQL DB, username and password?

I created a site using --mysql command but I didn’t see where the database name, username and password are stored. Where can I find them?

@ozgression

you will find /var/www/example.com/ee-config file which has DB information

Always thought this information was stored in the wp-config.php file, located at:

/var/www/example.com/wp-config.php

@harshadyeola that works. Thanks for your help.

@bamajr the site I want to read db, username and password details for is not a wordpress site, it is a --mysql site.

Ah… missed that. Sorry!

Hi @ozgression

It’s been a long time, and we haven’t heard from you. It looks like your issue is resolved.

I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: