Jdon版jive安装过程中,mysql数据库连接出错!(请帮帮忙,谢谢!)
我把Jdon版jive按照说明安装起来,用的是mysql5.0,按照说明数据库建好,数据表也生成了,配置文件的路径也该好了。运行进入Jive 论坛安装工具页面http://127.0.0.1:8080/jive/admin/setup/,实施到第三步时数据库连接不能建立报错。
可是我手动写了个小程序测试一下数据库连接时没有问题的,不知道是为什么?请问哪位兄台遇到个这个问题,怎么解决的?忘不吝赐教,兄弟感激不尽!
DefaultConnectionProvider.log文件中打出的log如下:
Starting ConnectionPool:
dbDriver = org.gjt.mm.mysql.Driver
dbServer = jdbc:mysql://localhost/Jive
dbLogin = root
log file = D:\workspace\jdonbbs\application\WEB-INF\jiveHome\logs\DefaultConnectionProvider.log
minconnections = 3
maxconnections = 10
Total refresh interval = 0.5 days
-----------------------------------------
--->Attempt (1 of 5) failed to create new connections set at startup:
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
Will try again in 10 seconds...
--->Attempt (2 of 5) failed to create new connections set at startup:
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
Will try again in 10 seconds...
--->Attempt (3 of 5) failed to create new connections set at startup:
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
Will try again in 10 seconds...
--->Attempt (4 of 5) failed to create new connections set at startup:
java.sql.SQLException: Communication failure during handshake. Is there a server running on localhost:3306?
Will try again in 10 seconds...
All attempts at connecting to Database exhausted
任何意见我都会很感激的,谢谢了先!