jBPM连接MySQL Server 5.5在安装过程中出错
2011-06-26 13:51
387 查看
问题出现过程:
1.在执行ant demo.setup.tomcat安装jBPM的过程中出现如下错误信息
2.于是执行ant create.jbpm.schema,发现第一个错误信息如下
3.在Navicat Lite中执行该条SQL语句也同样报错,查MySQL的帮助手册发现是Engine=InnoDB
4.经上网搜索发现,MySQL 4.0开始不建议使用type=InnoDB,建议使用Engine=InnoDB,而MySQL 5.5只能用Engine=InnoDB
解决方案:
1.修改jbpm-4.4/install/src/db/create/jbpm.mysql.create.sql中的脚本
2.安装MySQL Server 5.1
1.在执行ant demo.setup.tomcat安装jBPM的过程中出现如下错误信息
D:/jbpm-4.4/examples/build.xml:95: org.jbpm.api.JbpmException: no jBPM DB schema: no JBPM4_EXECUTION table. Run the create.jbpm.schema target first in the install tool.
2.于是执行ant create.jbpm.schema,发现第一个错误信息如下
[java] 12:23:49,484 INF | [DbHelper] --- Executing DB Commands ------------------------- [java] 12:23:49,484 INF | [DbHelper] create table JBPM4_DEPLOYMENT ( [java] DBID_ bigint not null, [java] NAME_ longtext, [java] TIMESTAMP_ bigint, [java] STATE_ varchar(255), [java] primary key (DBID_) [java] ) type=InnoDB [java] 12:23:49,562 WRN | [JDBCExceptionReporter] SQL Error: 1064, SQLState: 42000 [java] 12:23:49,562 SEV | [JDBCExceptionReporter] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 7
3.在Navicat Lite中执行该条SQL语句也同样报错,查MySQL的帮助手册发现是Engine=InnoDB
4.经上网搜索发现,MySQL 4.0开始不建议使用type=InnoDB,建议使用Engine=InnoDB,而MySQL 5.5只能用Engine=InnoDB
解决方案:
1.修改jbpm-4.4/install/src/db/create/jbpm.mysql.create.sql中的脚本
2.安装MySQL Server 5.1
相关文章推荐
- jBPM连接MySQL Server 5.5在安装过程中出错
- CentOS 6.5下yum安装 MySQL-5.5全过程图文教程
- Linux下源码编译MySQL 5.5 与安装过程全记录
- mysql安装过程中报错【Can t connect to mysql server on localhost (10061) 】
- 安装linux学习三(2):CentOS 5.5下安装MySQL 5.5全过程分享
- Sub-process /usr/bin/dpkg returned an error code (1) Ubantu dpkg安装mysql-server-5.5软件包时报错解决办法
- 安装mysql server5.5 到start service未响应
- mysql/sqlserver/oracle安装以及设置远程连接数据库访问
- 云服务器Ubuntu_Server_16.04.1安装MySQL并开启远程连接的方法
- Navicat连接MariaDB出错:1130-host . is not allowed to connect to this mysql server,
- CentOS 5.5下安装MySQL 5.5全过程分享
- CentOS 5.5下安装MySQL 5.5全过程分享
- MySQL-server安装及实现远程连接
- ambari离线方式安装Hive不能连接mysql和不能启动hive metastore&hiveserver2
- 【环境配置】GeoServer+MySQL安装及配置过程
- mysql安装过程中的一些错误解析——The server quit without updating PID file
- 源码编译mysql 5.5+ 安装过程全记录
- GeoServer+MySQL安装及配置过程
- 图解MySQL5.5详细安装与配置过程
- dpkg:处理软件包 mysql-server-5.5 (--configure)时出错