If you have forgotten your database user name and password, you can reset your password and retrieve your user name from the database utilities in your control panel.
Create & Update Tab: MySQL Database Link
Database Administrator Link
Database Administrator Change Password Page
Once you have changed the database password, be sure to change the password used in any of PHP or Perl scripts that access the database.