Am 04.11.15 um 12:29 schrieb Jörg Sitek:
> 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?

Guten Morgen,

handlet es sich un die gleichen MySQL Versionsnummern? Ist die Datenbank
Konfig gleich?

        Grüße . Götz Reinicke

-- 
Götz Reinicke
IT-Koordinator

Tel. +49 7141 969 82420
E-Mail goetz.reini...@filmakademie.de

Filmakademie Baden-Württemberg GmbH
Akademiehof 10
71638 Ludwigsburg
www.filmakademie.de

Eintragung Amtsgericht Stuttgart HRB 205016

Vorsitzender des Aufsichtsrats: Jürgen Walter MdL
Staatssekretär im Ministerium für Wissenschaft,
Forschung und Kunst Baden-Württemberg

Geschäftsführer: Prof. Thomas Schadt

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