Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can't create table `idoit_data`.`isys_drive_list_2_stor_list` (errno: 140 "Wrong create options")

    Scheduled Pinned Locked Moved Betrieb
    6 Posts 3 Posters 731 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      The.Man2
      last edited by

      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 table idoit_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_list

      Hilft 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

      1 Reply Last reply Reply Quote 0
      • Michael HuhnM Offline
        Michael Huhn
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • T Offline
          The.Man2
          last edited by

          Hi,
          das hat funktioniert, besten Dank!

          1 Reply Last reply Reply Quote 0
          • creissC Offline
            creiss i-doit Kenner
            last edited by

            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

            NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/@donamic_de
            Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
            i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

            1 Reply Last reply Reply Quote 0
            • Michael HuhnM Offline
              Michael Huhn
              last edited by

              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!

              1 Reply Last reply Reply Quote 0
              • creissC Offline
                creiss i-doit Kenner
                last edited by

                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

                NEU - i-doit und IT-Dokumentation bei YouTube: https://www.youtube.com/@donamic_de
                Komplett-Strategie: https://i-doit-trainings.de/it-dokumentation-komplett-strategie/
                i-doit Mastery – https://i-doit-trainings.de/i-doit-mastery

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post