You should be able to edit the password of the database offline in the config.inc.php, then re-upload it to your server.

If you're not logged in as Admin, you can't edit it online.

Hope that helps.