# Update von 5.4.6 auf 5.6.9 Probleme bei DB-Migration

**URL:** <https://forum.shopware.com/t/update-von-5-4-6-auf-5-6-9-probleme-bei-db-migration/86381>\
**Category:** Allgemein\
**Created:** [22. März 2021 um 16:59 UTC](https://forum.shopware.com/t/update-von-5-4-6-auf-5-6-9-probleme-bei-db-migration/86381 "2021-03-22T16:59:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hansi10](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@Hansi10](https://forum.shopware.com/u/Hansi10)\
**Post date:** [22. März 2021 um 16:59 UTC](https://forum.shopware.com/t/update-von-5-4-6-auf-5-6-9-probleme-bei-db-migration/86381/1 "2021-03-22T16:59:28Z")

</div>

Hallo, in einem Testverzeichnis versuche ich meinen Shop von 5.4.6 auf 5.6.9 upzudaten. Alle Plugins sind aktuell und es gibt keine verschlüsselten Plugins mehr. Bei der DB-Migration bleibt das Update mit folgender Fehlermeldung stehen, bei der ich aktuell nicht weiter weiß:

Error

Received the following error message:  
Could not apply migration (Migrations\_Migration1434). Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‚s language as default.)‘ at line 2

Please try to fix this error and restart the update.

**Response**

{„valid“:false,„errorMsg“:"Could not apply migration (Migrations\_Migration1434). Error: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‚s language as default.)‘ at line 2 "}

Wo finde ich da einen Anhaltspunkt zur Lösung?

Gruß  
Hansi

---

<div class="post-metadata">

**Author:** ![AndreHerking](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/andreherking/32/7839_2.png) [@AndreHerking](https://forum.shopware.com/u/AndreHerking)\
**Post date:** [23. März 2021 um 06:17 UTC](https://forum.shopware.com/t/update-von-5-4-6-auf-5-6-9-probleme-bei-db-migration/86381/2 "2021-03-23T06:17:36Z")

</div>

Grundsätzlich findest du Informationen anhand der Migration Nummer, diese kannst du auf Github suchen und dir anschauen was via SQL gemacht wird.

> <https://github.com/shopware/shopware/blob/5.7/_sql/migrations/1434-add-href-default-selection.php>

Die Meldung deutet aber eher auf einen Fehler mit der MySQL Version hin - welche nutzt du für das Update? Shopware 5.6 benötigt mindestens MySQL 5.7

---

<div class="post-metadata">

**Author:** ![Hansi10](https://avatars.discourse-cdn.com/v4/letter/h/73ab20/32.png) [@Hansi10](https://forum.shopware.com/u/Hansi10)\
**Post date:** [23. März 2021 um 06:58 UTC](https://forum.shopware.com/t/update-von-5-4-6-auf-5-6-9-probleme-bei-db-migration/86381/3 "2021-03-23T06:58:50Z")

</div>

Hallo Andre, danke für den Hinweis. Genutzt wird MySQL 5.7. Ich frage mal bei meinem Hoster nach (Hosting-Pilot). Vielleicht ist da in meinem Testverzeichnis etwas falsch eingestellt.
