Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication failure during handshake

 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Unable to create connection
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?

what is this error pals?
 
David Ulicny
Ranch Hand
Posts: 724
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like your MySQL server is not running.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think it sounds like a Driver problem, you'd get a connection refused error otherwise. Do you have the most up to date drivers?
 
Nila dhan
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using mysql server version 4.1 The server is running.I dont think it is the driver problem because, another application with the same driver works!!!What could be the problem??
 
Anupam Sinha
Ranch Hand
Posts: 1090
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe because of a firewall you may not be getting through. Try disabling any firewall you use(if any).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic