第三步总是说:数据库连接不能建立。打开日志文件"jiveHome\logs\DefaultConnectionProvider.log" 查看错误信息然后返回修正错误。
以下是log:
Starting ConnectionPool:
dbDriver = org.gjt.mm.mysql.Driver
dbServer = jdbc:mysql://localhost/jive
dbLogin = root
log file = D:\Java\jakarta-tomcat-5.0.28\webapps\jive\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
达人帮忙呀
PS:为什么昨晚的没发出来