The password is linked to the username you connect to the database with, not the database itself.
If you change password for that username, as you did, you would need to go to filemanager and find the configuration file for your script of choice, often called "config.php" and located in the...