现象: 在XP下是好的,但在2003下,tomcat抛出异常: Communication failure during handshake. Is there a server running on localhost:3306? 解决办法:set password for username@servername = old_password('password'); (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的认证机制发生了一些变化造成的)
【文章原创作者:高防cdn http://www.558idc.com/gfcdn.html提供,感恩】