安装jive时出现:Jive论坛数据库脚本没有安装 有详细一点的错误讯息吗。看看服务器的log 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 jiveHome/logs下的 DefaultConnectionProvider.log中的信息如下Starting ConnectionPool:dbDriver = com.mysql.jdbc.DriverdbServer = jdbc:mysql://localhost:3306/jivedbLogin = rootlog file = D:/javaworks/workspace/Jive_zh/WebContent/WEB-INF/jiveHome\logs\DefaultConnectionProvider.logminconnections = 3maxconnections = 10Total refresh interval = 0.5 days-----------------------------------------Mon Feb 20 11:16:11 CST 2006 Opening connection 0 com.mysql.jdbc.Connection@65b738:Mon Feb 20 11:16:11 CST 2006 Opening connection 1 com.mysql.jdbc.Connection@1e6e305:Mon Feb 20 11:16:11 CST 2006 Opening connection 2 com.mysql.jdbc.Connection@4eb043:操作系统是win xp sp2tomcat是5.5.4jdk1.5mysql是5.0谢谢大家关注 在setup3.jsp中发现这一段代码 奇怪的是在stmt.executeQuery("SELECT * FROM jiveID"); 哪里有jiveID这个表啊???在Yazd_mysql.sql中哪里声明这个表呢??????ConnectionManager.setConnectionProvider(conProvider); Connection con = null; try { con = ConnectionManager.getConnection(); if (con == null) { conErrors = true; conErrorMessage = "数据库连接不能建立。打开日志文件\"jiveHome\\logs\\DefaultConnectionProvider.log\" 查看错误信息然后返回修正错误。"; } else { // See if the Jive db schema is installed. try { Statement stmt = con.createStatement(); // Pick an arbitrary table to see if it's there. stmt.executeQuery("SELECT * FROM jiveID"); //哪里有jiveID这个表啊??? stmt.close(); } catch (SQLException sqle) { sqle.printStackTrace(); conErrors = true; conErrorMessage = "Jive论坛数据库脚本没有安装。请按照安装文档修正此错误。"; } } } finally { try { con.close(); } catch (Exception ignored) {} } } 终于搞定了,原来是哪本叫<Java 实用系统开发指南>一本所带的光盘上的代码是不对的,这样不责任的作者,真是令人.... org.hibernate.hql.ast.QuerySyntaxException: jdbc查询数据库 如何得到树结构的数据呢 Hibernate 配置主外键映射后 Hql 查询出错~~~~!!! httpClient如何设置客户端ip Help me!调用webService异常错误! 在JAVA中如何实现自动报表 struts 输出问题 有关JAVA的applet 找工作请前辈指明路 求救! 有关远程对象传输问题,请高手指点! 求助:如何用xmill压缩xml??????
dbDriver = com.mysql.jdbc.Driver
dbServer = jdbc:mysql://localhost:3306/jive
dbLogin = root
log file = D:/javaworks/workspace/Jive_zh/WebContent/WEB-INF/jiveHome\logs\DefaultConnectionProvider.log
minconnections = 3
maxconnections = 10
Total refresh interval = 0.5 days
-----------------------------------------
Mon Feb 20 11:16:11 CST 2006 Opening connection 0 com.mysql.jdbc.Connection@65b738:
Mon Feb 20 11:16:11 CST 2006 Opening connection 1 com.mysql.jdbc.Connection@1e6e305:
Mon Feb 20 11:16:11 CST 2006 Opening connection 2 com.mysql.jdbc.Connection@4eb043:
操作系统是win xp sp2
tomcat是5.5.4
jdk1.5
mysql是5.0谢谢大家关注
在Yazd_mysql.sql中哪里声明这个表呢??????
ConnectionManager.setConnectionProvider(conProvider);
Connection con = null;
try {
con = ConnectionManager.getConnection();
if (con == null) {
conErrors = true;
conErrorMessage = "数据库连接不能建立。打开日志文件\"jiveHome\\logs\\DefaultConnectionProvider.log\" 查看错误信息然后返回修正错误。";
}
else {
// See if the Jive db schema is installed.
try {
Statement stmt = con.createStatement();
// Pick an arbitrary table to see if it's there.
stmt.executeQuery("SELECT * FROM jiveID"); //哪里有jiveID这个表啊???
stmt.close();
}
catch (SQLException sqle) {
sqle.printStackTrace();
conErrors = true;
conErrorMessage = "Jive论坛数据库脚本没有安装。请按照安装文档修正此错误。";
}
}
}
finally {
try {
con.close();
} catch (Exception ignored) {}
}
}
这样不责任的作者,真是令人....