PHP Mysql Access Denied


#1

I have looked through multiple threads created on this topic and have tried a lot of solutions. However, I am not progressing anywhere.

When I try to connect to my database I am prompted with “Access denied for user @xxx.xxx.xx.xx” - where user name is the correct user and some IP address (I do not know where that is coming from).

I have allowed hosts:
%.dreamhost.com
xxx.xxx.xx.xx - [The IP address listed above]

Can anyone help me out?
[hr]
UPDATE: had to use only “%” on a new line in allowable hosts… Not sure if this is the best way to go about it but it seems to be working properly.