Access denied for user \'root \'@\'localhost\' (using password: YES)
Yes, this error is all too common, and I have spent much time researching it. How
Something is wrong with your credentials.
Verify the:
Also, please stop using mysql_* functions as they are now deprecated. Use MySQLi or PDO instead.
mysql_*