Thank you for your feedback
If you've forgotten your database username and password, you can reset your password and retrieve your username in cPanel.
Once you've changed the MySQL database password, be sure to change the password used in any of PHP or Perl scripts that access the database.