12:02:15,158 INFO [domain.schema.SchemaBootstrap] Executing database script /home/Alfresco-3.2/tomcat/t
emp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-7733300539256942529.sql (Copied from classpath:alfr
esco/dbscripts/create/3.2/org.hibernate.dialect.MySQLInnoDBDialect/AlfrescoPostCreate-3.2-LockTables.sql)
.
12:02:15,187 ERROR [domain.schema.SchemaBootstrap] Statement execution failed:
SQL: CREATE TABLE alf_lock_resource
(
id BIGINT NOT NULL AUTO_INCREMENT,
version BIGINT NOT NULL,
qname_ns_id BIGINT NOT NULL,
qname_localname VARCHAR(255) NOT NULL,
CONSTRAINT fk_alf_lockr_ns FOREIGN KEY (qname_ns_id) REFERENCES alf_namespace (id),
PRIMARY KEY (id),
UNIQUE INDEX idx_alf_lockr_key (qname_ns_id, qname_localname)
) TYPE=InnoDB
Error: Can't create table './alfresco_32/alf_lock_resource.frm' (errno: 150)
File: /home/Alfresco-3.2/tomcat/temp/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-773330053925694
2529.sql
Line: 19
12:02:15,189 ERROR [domain.schema.SchemaBootstrap] Schema auto-update failed
java.sql.SQLException: Can't create table './alfresco_32/alf_lock_resource.frm' (errno: 150)
…..CREATE TABLE alf_lock_resource^M
(^M
id BIGINT NOT NULL AUTO_INCREMENT,^M
version BIGINT NOT NULL,^M
qname_ns_id BIGINT NOT NULL,^M
qname_localname VARCHAR(255) NOT NULL,^M
CONSTRAINT fk_alf_lockr_ns FOREIGN KEY (qname_ns_id) REFERENCES alf_namespace (id),^M
PRIMARY KEY (id),^M
UNIQUE INDEX idx_alf_lockr_key (qname_ns_id, qname_localname)^M
) TYPE=InnoDB;^M
Je lance le script à la main : mysql -u alfresco -h localhost alfresco_32 < AlfrescoSchema-MySQLInnoDBDialect-Update-7733300539256942529.sql
ERROR 1005 (HY000) at line 10: Can't create table './alfresco_32/alf_lock_resource.frm' (errno: 150)
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.