主题 : 安装数据库报错 |
级别: 秀才
|
1# 发表于:2011-10-20 16:33:03 IP:220.208.*.*
|
||||
---|---|---|---|---|---|
级别: 秀才
|
3# 发表于:2011-10-20 16:49:57 IP:220.208.*.*
直接把文件放在TOMCAT 7 根目录 webapps 里然后 访问 localhost/jeemcs/
然后安装 就报错了 |
||
---|---|---|---|
级别: 秀才
|
4# 发表于:2011-10-20 16:50:14 IP:220.208.*.*
type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: install failed! com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:71) javax.servlet.http.HttpServlet.service(HttpServlet.java:641) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) root cause java.sql.SQLException: The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1055) com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3536) com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3468) com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1957) com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2107) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2642) com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2571) com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:769) com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:612) com.jeecms.cms.Install.createTable(Install.java:106) com.jeecms.cms.InstallServlet.doPost(InstallServlet.java:48) javax.servlet.http.HttpServlet.service(HttpServlet.java:641) javax.servlet.http.HttpServlet.service(HttpServlet.java:722) note The full stack trace of the root cause is available in the Apache Tomcat/7.0.22 logs. |
||
---|---|---|---|
级别: 总版主
|
5# 发表于:2011-10-20 16:50:19 IP:59.114.*.*
mysql配置文件禁掉了这个选项!
关闭mysql数据库 在mysql的安装目录中找到my.ini文件 找到skip-innodb,在前面加上#号 保存,开启mysql数据库! |
||
---|---|---|---|
级别: 秀才
|
8# 发表于:2011-10-21 15:44:36 IP:220.208.*.*
昨天到今天 重新安装了数据库还不行
那个库是程序建立的,不是我手动建立的 在数据库中执行SQL语句报错 The 'InnoDB' feature is disabled; you need MySQL built with 'InnoDB' to have it working 快头疼死了 |
||
---|---|---|---|