XF 1.3 Changed my mysql password now my forums wont work.

Anyone know how to fix this? i have a feeling i have to change it somewhere else that way the forums no the password to the database but i dont know where to change it. I changed my mysql password threw mysql and it says unexpected database error has occurred. can anyone help me with this?