This week's book giveaway is in the Open Source Projects forum.
We're giving away four copies of Eclipse Collections Categorically: Level up your programming game and have Donald Raab on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

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
 
them good ole boys were drinking whiskey and rye singin' this'll be the day that I die. Drink tiny ad.
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic