2003下 tomcat 连mysql问题的解决

现象: 在XP下是好的,但在2003下,tomcat抛出异常:Communication failure during handshake. Is there a server running on localhost:3306?  

解决办法:set password for <username>@<servername> = old_password('<password>'); 
 (mysql环境下输入

还有一种 思路是:
 
把mm.mysql-2.0.4-bin.jar换成mysql-connector-java-3.1.5-gamma-bin.jar

是因为新的Mysql的认证机制发生了一些变化造成的)

原文地址:https://www.cnblogs.com/superch0054/p/4010155.html