Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ERROR 2003 (HY000) Can't connect to MySQL server on 'localhost' (10061)

 
Mimi Tam
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Need your HELP, please.

My SQL database could not be opened with communication failure. This database and connector worked once last night and now it couldn't be opened again . I tried pinging it on my DOS command line, same error. I pinged "Localhost", same problem I did it standalonne on the Database view, same problem

I am running MySQL 5.1 and Tomcat 6.0.18. The communication link failure error is below no matter how you try to connect to it.

Many Thanks in advance.

Any ideas will be greatly appreciated.

ERROR 2003 (HY000) Can't connect to MySQL server on 'localhost' (10061)

2ndmysql.png
[Thumbnail for 2ndmysql.png]
 
Mimi Tam
Ranch Hand
Posts: 121
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Problem solved!

Try turning on your MySQL service manually. I started it (from the Services dialog) by hand it (it was on Automatic). And, it connected!

Good Luck, my dear friends
 
Tuan Hassim
Greenhorn
Posts: 1
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mimi Tam wrote:Problem solved!

Try turning on your MySQL service manually. I started it (from the Services dialog) by hand it (it was on Automatic). And, it connected!

Good Luck, my dear friends


Thank you very much Mimi Tam, I had the same problem and googled it, but couldn't understand those solutions, but got it solved by your simple answer. Cheerz
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic