0

I have downloaded a copy of my website and changed the local.xml, username, password and db value to my mamp local, which is localhost, root, root. Deleted my contents in var folder but still i get ,

There has been an error processing your request

i tracedback the error shown under var/report/..... and it says,*a:4:{i:0;s:87:"SQLSTATE[28000] [1045] Access denied for user '[root'@'localhost' (using password: YES)";i:1;s:2652:"#0 * , my other websites on localhost connect with same credentials really well. what else should i look for to debug and make things working??

5
  • make sure you don't have an extra space in your username or password.
    – Marius
    Commented Oct 19, 2013 at 18:15
  • @Marius there isn't any
    – localhost
    Commented Oct 19, 2013 at 21:47
  • Looks like you have a left bracket before root.
    – Dan
    Commented Oct 20, 2013 at 2:50
  • @Dan it worked. yay!
    – localhost
    Commented Oct 20, 2013 at 9:55
  • Great, I'll make it an answer...
    – Dan
    Commented Oct 20, 2013 at 15:46

1 Answer 1

1

Remove the left bracket in front of root. Marius pointed to a simple answer, which led me to look for one as well.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.