• 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
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

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

 
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:-


web.xml:-


struts-config.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
reply
    Bookmark Topic Watch Topic
  • New Topic