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
You have 'root[SPACE]' as the user name. Try 'root' without the space?