Forum Moderators: open
It's in wp-config.php which is in the root WP directory and the lines looks like this -
/** MySQL database username */
define('DB_USER', 'user0739101555771');
/** MySQL database password */
define('DB_PASSWORD', '2!U^py9');
not my real credentials
Assuming that I will eventually end up with multiple databases on any account, I usually structure it like this
site: example.com
DB: examDB
user: examuser
examuser only has permissions on examDB which, normally, only has one user. That way if something bad were to happen and, let's say, my server had a glitch and started serving PHP as plain text and someone asked for wp-config.php, they wouldn't have root access on my DB.