Hallo OTRS-Community,

 

ich hoffe ihr könnt mir weiterhelfen. Ich möchte gerne eine OTRS-Datenbank 
(mySQL), welche z.Z. auf einer Windowsumgebung läuft auf einen mySQL-Server in 
einer Linux Umgebung migrieren. Ich konnte erfolgreich einen Export der 
Datenbank mit „mysqldump“ erstellen.

 

Beim Import bekomme ich jedoch den Fehler:

ERROR 1005 (HY000) at line 2190: Can't create table 'otrs.auto_response' 
(errno: 150)

 

Die Abfrage “SHOW ENGINE INNODB STATUS;” ergibt dann folgenden Hinweis:

------------------------

LATEST FOREIGN KEY ERROR

------------------------

151103 16:07:25 Error in foreign key constraint of table 
otrs/queue_auto_response:

there is no index in referenced table which would contain the columns as the 
first columns, or the data types in the referenced table do not match the ones 
in table. Constraint:

 

CONSTRAINT "FK_queue_auto_response_auto_response_id_id" FOREIGN KEY 
("auto_response_id") REFERENCES "auto_response" ("id")

The index in the foreign key in table is 
"FK_queue_auto_response_auto_response_id_id"

See http://dev.mysql.com/doc/refman/5.5/en/innodb-foreign-key-constraints.html 
for correct foreign key definition.

------------------------

 

Ich habe schon probiert die Überprüfung der FOREIGN KEYs zu deaktivieren, mit 
„SET FOREIGN_KEY_CHECKS=0;“, aber der ich erhalte wieder denselben Fehler. Habt 
ihr noch einen Tipp?

 

Danke & Gruß

Jörg

Attachment: smime.p7s
Description: S/MIME cryptographic signature

---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de

Antwort per Email an