• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communication failure during handshake. Is there a server running on localhost:3306?

Vinod Vinu
Ranch Hand
Posts: 217
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Iam working on a web application using struts, spring and hibernate. Iam using DI of spring.
Whenever i try to connect to mysql, it displays me the following below error. But when i use to connect to sql server 2005 by just changing the driver class, dialect properties, etc it works well.

Iam getting the following error:-

Following is my applicationContext.xml:-



Can you guys help me to figure out this issue ? Whats the problem with mysql database connectivity? I double checked mysql and it is working very well.
thanks in advance
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic