Jdon版jive安裝過程中,mysql資料庫連線出錯!(請幫幫忙,謝謝!)

laoren發表於2005-12-31
我把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

任何意見我都會很感激的,謝謝了先!

相關文章