Changing Database Password

I need to change the password on the database, not the wordpress account. I can’t find a way to do it. I tried logging into the database itself with the existing password, but I don’t know how to change it. I don’t see any kind of account profile panel. Can you point me in the right direction? Thank you