Problem in migration to mysql

1
0
-1

When I start the Bonita (after migrate database from h2 to to mysql), appears the following messages:

org.bonitasoft.console.common.server.utils.DefaultTenantIdException

root@vrtbpmdsv:/opt/bonitabpm/logs# cat bonita.2015-10-09.log

org.bonitasoft.engine.exception.CreationException: Platform Creation failed.

Caused by: org.bonitasoft.engine.platform.SPlatformCreationException: Unable to create platform tables : com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'pdependency' already exists
at org.bonitasoft.engine.platform.impl.PlatformServiceImpl.createPlatformTables(PlatformServiceImpl.java:151)
at org.bonitasoft.engine.api.impl.PlatformAPIImpl.createPlatform(PlatformAPIImpl.java:152)
... 29 more
Caused by: org.bonitasoft.engine.services.SPersistenceException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'pdependency' already exists
at org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService.doExecuteSQLThroughJDBC(AbstractHibernatePersistenceService.java:858)
at org.bonitasoft.engine.persistence.AbstractHibernatePersistenceService.doExecuteSQL(AbstractHibernatePersistenceService.java:812)
at org.bonitasoft.engine.persistence.AbstractDBPersistenceService.executeSQL(AbstractDBPersistenceService.java:251)
at org.bonitasoft.engine.persistence.AbstractDBPersistenceService.createStructure(AbstractDBPersistenceService.java:183)
at org.bonitasoft.engine.platform.impl.PlatformServiceImpl.createPlatformTables(PlatformServiceImpl.java:142)

If I migrate, why this message appears ?

INFO: Starting H2 server : [-tcp, -tcpPort, 9091, -baseDir, /opt/bonitabpm/bonita/server/platform/work]

No answers yet.
Notifications