16:08:14,839 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script D:\Alfresco\AlfrescoLabs\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-105798221308386296.sql (Generated).
16:08:14,839 ERROR [org.alfresco.repo.domain.schema.SchemaBootstrap] Statement execution failed:
SQL: create table JBPM_ACTION (
ID_ bigint not null auto_increment,
class char(1) not null,
NAME_ varchar(255),
ISPROPAGATIONALLOWED_ bit,
ACTIONEXPRESSION_ varchar(255),
ISASYNC_ bit,
REFERENCEDACTION_ bigint,
ACTIONDELEGATION_ bigint,
EVENT_ bigint,
PROCESSDEFINITION_ bigint,
TIMERNAME_ varchar(255),
DUEDATE_ varchar(255),
REPEAT_ varchar(255),
TRANSITIONNAME_ varchar(255),
TIMERACTION_ bigint,
EXPRESSION_ text,
EVENTINDEX_ integer,
EXCEPTIONHANDLER_ bigint,
EXCEPTIONHANDLERINDEX_ integer,
primary key (ID_)
) type=InnoDB
Error: 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 22
File: D:\Alfresco\AlfrescoLabs\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.MySQLInnoDBDialect-105798221308386296.sql
Line: 23
16:08:14,855 ERROR [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema auto-update failed
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: 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 22
Afin de palier à cette erreur, j'ai corrigé dans les fichiers custom-hibernate-dialect.properties et hibernate-cfg.properties, dans lesquels j'ai remplacé "hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect" par "hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect". Et j'ai renommé le répertoire "\tomcat\webapps\alfresco\WEB-INF\classes\alfresco\activities\org.hibernate.dialect.MySQLInnoDBDialect" en MySQL5InnoDBDialect. Cela à permis de corriger le problème.D:\Alfresco\AlfrescoLabs\tomcat\temp\Alfresco\AlfrescoSchemaCreate-org.hibernate.dialect.MySQL5InnoDBDialect-2662860700936994803.sql (Generated).
16:25:29,986 INFO [org.alfresco.repo.domain.schema.SchemaBootstrap] Executing database script D:\Alfresco\AlfrescoLabs\tomcat\temp\Alfresco\AlfrescoSchemaUpdate-org.hibernate.dialect.MySQL5InnoDBDialect-605448763934064023.sql (Copied from classpath:alfresco/dbscripts/create/2.2/org.hibernate.dialect.MySQL5InnoDBDialect/AlfrescoPostCreate-2.2-MappedFKIndexes.sql).
16:25:30,002 ERROR [org.alfresco.repo.domain.schema.SchemaBootstrap] Statement execution failed:
SQL: CREATE INDEX fk_alf_ace_auth ON alf_access_control_entry (authority_id)
Error: Duplicate key name 'fk_alf_ace_auth'
File: D:\Alfresco\AlfrescoLabs\tomcat\temp\Alfresco\AlfrescoSchemaUpdate-org.hibernate.dialect.MySQL5InnoDBDialect-605448763934064023.sql
Line: 12
16:25:30,002 ERROR [org.alfresco.repo.domain.schema.SchemaBootstrap] Schema auto-update failed
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate key name 'fk_alf_ace_auth'
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.