02-04-2010 07:40 AM
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)
02-12-2010 12:32 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.