AnsweredAssumed Answered

DataBase Upgrade doesn't work!

Question asked by rkoehler on Feb 2, 2011
Latest reply on Feb 14, 2011 by wolpert
Hey,
we work with Activiti 5.1 and now i want to upgrade to Activiti 5.2 and i have trouble with upgrading the database.
I modified the build.properties to point to my existing database. Then i executed ant cfg.create and modified the activiti.cfg.xml in setup\build\activiti-cfg
Then i started ant demo.start and get the Error:

internal.db.create.engine:
      [sql] Executing resource: org/activiti/db/create/activiti.mysql.create.sql
      [sql] Failed to execute:  create table ACT_GE_PROPERTY ( NAME_ varchar(64), VALUE_ varchar(300), REV_ integer, primary key (NAME_) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE utf8_bin

BUILD FAILED
/home/SAXOPRINT/rkoehler/tools/activiti-5.2/setup/build.xml:155: The following error occurred while executing this line:
/home/SAXOPRINT/rkoehler/tools/activiti-5.2/setup/build.xml:195: The following error occurred while executing this line:
/home/SAXOPRINT/rkoehler/tools/activiti-5.2/setup/build.xml:205: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'ACT_GE_PROPERTY' already exists

What i'm doing wrong. Or what is the best way to update Activiti?!

THX!

Outcomes