I've imported a database from another server it loaded up fine. Now I've added a user and am trying to run a php file the php file says cannot connect to database. Using the same login as specified in the php file I'm able to connect to mysql admintrator. The php file is on the localhost as is the sql server. Perissions have been set to allow the localhost to connect. Want to run down a list of reasons I may be not able to connect to the DB? I know my php code is correct as it can connect to my old server.