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


#1

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?


#2

@ozgression

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


#3

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

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

#4

@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.


#5

Ah… missed that. Sorry!


#6

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:


#7