Cannot access my database, Access denied.

i’ve got error when trying to connect my database using php, before i change my cpanel password it works perfectly. But after change i’ve got error like this Warning: mysqli_connect(): (HY000/1045): Access denied. Don’t know why, i already double check (case sensitive, change password to new one, etc) db connection still error. Can someone help me.? thanks.