• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
Netbeans IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Straws are for suckers. Now suck on this tiny ad!
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic