0

I receive the below error message when trying to access phpMyAdmin:

phpMyAdmin - Error

2003 - Can't connect to MySQL server on '127.0.0.1' (111)

The server is not responding.

I was previously able to access and then after passing a query with incorrect syntax into SQL via php code I receive the above error message. I think I may have somehow corrupted my accounts database.

1

You will get that message if mysql50 hasn't been started (ie mysql50 start).

| improve this answer | |
  • I have started mysql50, I still have the same error – Barry Jacobs Nov 18 '16 at 14:05
  • Hmmmm. You'll find advice here on how to run mysql from the command line. You might also try restarting your workspace (CS50 IDE tab > Restart) and bouncing apache50 and mysql50 (stop, start each). What was the sql command that seemed to precipitate this? – DinoCoderSaurus Nov 18 '16 at 14:28
  • the CS50 IDE tab > Restart has worked! thank you for the assistance – Barry Jacobs Nov 18 '16 at 15:11

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .