Tell me more ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

I am developing an application in python and using mySql for storing data. It was running fine last time I used it. Now, I didnt make any change in code. When I am running application, an error is coming: Error 2003: Can't connect to MySQL server on 'localhost' (10061)

After this I tried starting MySql explicitly and entered my password,it gave some error. Error: Cant connect to MySql Server on 127.0.0.1(10061)

Any idea, why MySql is showing this kind of behavior? Is re-installation only solution?

share|improve this question
"After this I tried starting MySql explicitly " What OS? Did you verify that MySQL is indeed running (instead of generating an error and dying) prior to your attempt to connect? – Derek Downey Jan 18 '12 at 17:15
I am using windows 7. – Shruti Gautam Jan 18 '12 at 18:56
normally I never had to start mySQL, whenever I ran the application. So this time also I didnot try to run it prior to connect – Shruti Gautam Jan 18 '12 at 18:57
Do you have root access? – malonso Jan 19 '12 at 1:31
yes.. I was able to use it untill yesterday. – Shruti Gautam Jan 19 '12 at 7:03
show 2 more comments

closed as not a real question by Gaius, Derek Downey, gbn, JNK, ConcernedOfTunbridgeWells Feb 14 '12 at 20:26

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.