Can't create table `idoit_data`.`isys_drive_list_2_stor_list` (errno: 140 "Wrong create options")
-
Hi zusammen,
beim restore aus dem mysql dump bekommen ich folgende Fehlermeldung für idoit_data:
ERROR 1005 (HY000) at line 11170: Can't create tableidoit_data.isys_drive_list_2_stor_list(errno: 140 "Wrong create options")Mit einem älteren Dump funktioniert der Import problemlos. Also liegt es wahrscheinlich an fehlerhaften Daten.
Die Tabelle ist:
Verknüpfungstabelle für Laufwerk an Storage
•isys_drive_list_2_stor_listHilft einer der Button unter Systemtools um den Fehler in der Datenbank zu bereinigen?
Oder wie kann ich herausfinden wo sich der schlechte Eintrag befindet (z.B. doppelter Eintrag wo nur einer erlaubt ist)?Grüße
-
Hallo The.Man2,
steht in der Zeile 11170 zufällig etwas wie:
"ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci ROW_FORMAT=FIXED;"
Falls ja bitte "ROW_FORMAT=FIXED" entfernen und erneut testen.mfg
Micha -
Hi,
das hat funktioniert, besten Dank! -
Hi zusammen,
das habe ich auch auf einem System bemerkt. Woran liegt das genau? Auf einigen Systemen läuft ein automatischer Backup- und Restore-Prozess, der so nicht mehr funktioniert. Man müsste im Dump zusätzlich automatisiert diese Angaben rausfiltern. Das ist definitiv neu (mit der 1.13.1?) dazugekommen.
Lieben Gruß
Christian -
Das ist zumindest nicht neu.
Ausschnitt aus Stackoverflow LINK*This problem appears to occur when you're importing a table definition that had been created with MyISAM but later was switched to InnoDB; the resulting ROW_FORMAT options appear to be invalid.
If you're trying to import an exported database and encounter this problem, you can simply search and replace ROW_FORMAT=FIXED with nothing.
I used the following to do so really quickly:
sed -ie 's/ROW_FORMAT=FIXED//g' backup.sql*Auf jedem Fall immer vorher ein Backup erstellen!
-
Hi,
ja, es mag sein, dass der Artikel bei Stackoverflow nicht neu ist, aber das Verhalten habe ich in den letzten 11 Jahren mit i-doit noch nie gehabt. Und wir haben auch nichts bei der Erstellung der Dumps (mysqldump) oder beim Einspielen geändert. Also entweder kommt das durch eine neue MySQL-/MariaDB-Version oder eben durch i-doit. Bist du sicher, dass ihr nichts dahingehend geändert habt?
Bei mir gibt es neben ROW_FORMAT=FIXED auch ROW_FORMAT=COMPACT und ROW_FORMAT=DYNAMIC.
Lieben Gruß
Christian
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login