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

    Alte mandant.sql importieren?

    Scheduled Pinned Locked Moved Betrieb
    6 Posts 2 Posters 1.6k Views 1 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
      tesso
      last edited by

      Hallo,
      ich habe noch eine Sicherung eines Mandanten in der Version 0.9.7-1. Wie kann ich diese Datenbank in ein 0.9.8-2 importieren?

      Einfach die Daten mit phpmyadmin in eine MandantenDB importieren und dann idoit updaten schlägt leider fehl.

      1 Reply Last reply Reply Quote 0
      • dsD Offline
        ds
        last edited by

        Von 0.9.7-1 kann nicht direkt auf 0.9.8-2 geupdatet werden.
        Am besten du machst dir eine separate 0.9.7-1 installation, knallst die Datenbanken aus der Sicherung drüber und Updatest dann auf 0.9.8-1. Und dann erst auf 0.9.8-2

        1 Reply Last reply Reply Quote 0
        • T Offline
          tesso
          last edited by

          Genau das habe ich befürchtet.

          1 Reply Last reply Reply Quote 0
          • T Offline
            tesso
            last edited by

            Habe gerade die alte Version auf 0.9.8-2 hochgezoegen und die Daten exportiert.
            Beim Import in die neue DB kann folgender Fehler:

            --
            -- Constraints der Tabelle `isys_catg_accounting_list`
            --
            ALTER TABLE `isys_catg_accounting_list` ADD CONSTRAINT `isys_catg_accounting_list_ibfk_1` FOREIGN KEY ( `isys_catg_accounting_list__isys_catg_accounting__id` ) REFERENCES `isys_catg_accounting` ( `isys_catg_accounting__id` ) ON DELETE NO ACTION ON UPDATE NO ACTION ,
            ADD CONSTRAINT `isys_catg_accounting_list_ibfk_2` FOREIGN KEY ( `isys_catg_accounting_list__isys_guarantee_period_unit__id` ) REFERENCES `isys_guarantee_period_unit` ( `isys_guarantee_period_unit__id` ) ON DELETE NO ACTION ON UPDATE NO ACTION ,
            ADD CONSTRAINT `isys_catg_accounting_list_ibfk_3` FOREIGN KEY ( `isys_catg_accounting_list__isys_contact__id` ) REFERENCES `isys_contact` ( `isys_contact__id` ) ON DELETE SET NULL ON UPDATE NO ACTION ;
            
            MySQL meldet: Dokumentation
            #1452 - Cannot add or update a child row: a foreign key constraint fails (`idoit_ek17/#sql-c49_9cc`, CONSTRAINT `isys_catg_accounting_list_ibfk_3` FOREIGN KEY (`isys_catg_accounting_list__isys_contact__id`) REFERENCES `isys_contact` (`isys_contact__id`) ON DELETE SE) 
            
            1 Reply Last reply Reply Quote 0
            • dsD Offline
              ds
              last edited by

              Vor dem Import die foreign key checks deaktiveren

              
              set foreign_key_checks = 0;
              
              
              1 Reply Last reply Reply Quote 0
              • T Offline
                tesso
                last edited by

                Vielen Dank, das hat funktioniert.

                1 Reply Last reply Reply Quote 0

                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
                • First post
                  Last post