Communication failure during handshake. Is there a server running on localhost:3306?
posted 6 years ago
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
Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."