January 16, 2016 at 9:24 am #236879
I had this error popping up while running MAMP and WAMP at the same time. (I was trying to copy a database from the WAMP environment to MAMP)
If you running both this might be the issue. Shutting down WAMP and restarting MAMP solved the issue.