社区
Web 开发
帖子详情
请教:连接mysql出现Communication failure during handshake
clh111
2004-06-10 01:42:21
在mysql+linux+resin环境下:连接mysql出现
Communication failure during handshake. Is there a server running on localhost:3306
请各位指教
...全文
89
2
打赏
收藏
请教:连接mysql出现Communication failure during handshake
在mysql+linux+resin环境下:连接mysql出现 Communication failure during handshake. Is there a server running on localhost:3306 请各位指教
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
2 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
阿钚
2004-07-14
打赏
举报
回复
我直接写在JSP文件里,也出现这个问题!@~!~
奇伢
2004-06-10
打赏
举报
回复
在javabean的连接数据库中,不能用localhost要用ip。
java web
连接
mysql
异常
Communication
failu
re during
handshake
. Is there a server running on localhost
数据库
连接
拒绝。。。 1:检查
连接
的数据库服务器 ip以及端口以及用户名密码是否正确 2:检查
连接
的数据库服务器的实例名称是否正确 3:检查程序的数据库驱动,是否正确 ,版本是否匹配
Communication
failu
re during
handshake
. Is there a server running on localhost:3306?
今天重新部署我的工作环境,是一个Apache+PHP+Tomcat+
Mysql
的集成...其它的几个服务都调试通过了,但是Tomcat和
Mysql
却连结不上,提示错误
Communication
failu
re during
handshake
. Is there a server running on lo
java.sql.SQLException:
Communication
failu
re during
handshake
. Is there a server running on localhos
java.sql.SQLException:
Communication
failu
re during
handshake
. Is there a server running on localhost:3306? at com.
mysql
.jdbc.
Mysql
IO.init(Unknown Source) at com.
mysql
.jdbc.Connection
java.sql.SQLException:
Communication
failu
re during
handshake
. Is there a server running on localhost:3306?
环境:
MySQL
5.0 up through 5.0.16Apache Tomcat/6.0.18驱动:
mysql
-connector-java-2.0.14.jar症状:信息: Server startup in 1281 msjava.sql.SQLException:
Communication
failu
re during
handshake
. Is there a...
MySQL
连接
问题java.sql.SQLException:
Communication
failu
re during handshak.
java.sql.SQLException:
Communication
failu
re during
handshake
. Is there a server running on localhost:3306? 我的
mysql
是
mysql
-5.0.22,JDBC驱动是
mysql
-2.0.4.jar, 网上找个半天,发现是版
Web 开发
81,092
社区成员
341,717
社区内容
发帖
与我相关
我的任务
Web 开发
Java Web 开发
复制链接
扫一扫
分享
社区描述
Java Web 开发
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章