# Anpassungen bei Umstellung von MySQL 5.7 auf MySQL 8.1?

**URL:** <https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299>\
**Category:** Shopware 6 (German)\
**Created:** [26. November 2022 um 08:29 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299 "2022-11-26T08:29:16Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![canetti](https://avatars.discourse-cdn.com/v4/letter/c/a587f6/32.png) [@canetti](https://forum.shopware.com/u/canetti)\
**Post date:** [26. November 2022 um 08:29 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/1 "2022-11-26T08:29:16Z")

</div>

Hallo alle zusammen,  
bislang läuft unsere Shopware 6 Installation auf einen All-Inkl Server mit MySQL 5.7. All-Inkl hat uns nun die Migration auf einen Server mit MySQL 8.1 angeboten.

Frage: Sind bei der Umstellung von MySQL 5.7 auf 8.1 irgendwelche Anpassungen / Änderungen notwendig oder sollte alles problemlos (nur hoffentlich performanter) weiter laufen?

---

<div class="post-metadata">

**Author:** ![Hollg2000](https://avatars.discourse-cdn.com/v4/letter/h/858c86/32.png) [@Hollg2000](https://forum.shopware.com/u/Hollg2000)\
**Post date:** [20. Februar 2023 um 12:32 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/2 "2023-02-20T12:32:24Z")

</div>

Hallo @canetti ich stehe jetzt gerade davor das der Server updatet wird. Gab es Probleme bei der Umstellung läuft die aktuelle Shopware 6.4.19.0 mit MySQL 8.0.3x

---

<div class="post-metadata">

**Author:** ![md\_dm](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/md_dm/32/8939_2.png) [@md\_dm](https://forum.shopware.com/u/md_dm)\
**Post date:** [23. Februar 2023 um 20:40 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/3 "2023-02-23T20:40:39Z")

</div>

MySQL 8.1 und Shopware 6? Laut Doku ist MySQL 8.x nicht empfohlen und/oder kompatible.

> **[Shopware 6 - First Steps - System Requirements](https://docs.shopware.com/en/shopware-6-en/first-steps/system-requirements)**
>
> Here we list the requirements your system has to meet to run Shopware 6 and what we recommend to optimize the usage.

> **SQL**
> 
> \*MySQL 5.7.21 or higher  
> **MySQL versions 8.0.20 and 8.0.21 are not compatible** due to technical problems in these versions.
> 
> or
> 
> - MariaDB 10.3.22 or higher  
> MariaDB versions 10.3.29, 10.4.19 and 10.5.10 are not compatible due to technical problems in these versions.
> 
> Please note that the database user used for the Shopware installation has all preveligies for the tables and the database. Preveligies on the server level are not required.

---

<div class="post-metadata">

**Author:** ![Max\_Shop](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Max\_Shop](https://forum.shopware.com/u/Max_Shop)\
**Post date:** [23. Februar 2023 um 22:16 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/4 "2023-02-23T22:16:08Z")

</div>

Das ist völliger Quatsch. MySQL 8 ist deutlich performanter als MySQL 5.7 in Kombination mit Shopware.  
In dem Hinweis steht lediglich, dass zwei spezifische Versionen von MySQL 8 nicht kompatibel sind.

---

<div class="post-metadata">

**Author:** ![md\_dm](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/md_dm/32/8939_2.png) [@md\_dm](https://forum.shopware.com/u/md_dm)\
**Post date:** [24. Februar 2023 um 05:49 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/5 "2023-02-24T05:49:11Z")

</div>

Jep das ist vollkommen korrekt, mein Fehler.  
„…or higher“ Habe ich falsch interpretiert.

Aber eine Version 8.1 gibt es doch gar nicht für die MySQL?

---

<div class="post-metadata">

**Author:** ![EikeBrandtWarneke](https://avatars.discourse-cdn.com/v4/letter/e/cdc98d/32.png) [@EikeBrandtWarneke](https://forum.shopware.com/u/EikeBrandtWarneke)\
**Post date:** [24. Februar 2023 um 07:33 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/6 "2023-02-24T07:33:20Z")

</div>

Nur explizit die Versionen 8.0.20 und 8.0.21 sind nicht kompatibel. Alle anderen MySQL 8 Versionen werden unterstützt.

Viele Grüße

---

<div class="post-metadata">

**Author:** ![Hollg2000](https://avatars.discourse-cdn.com/v4/letter/h/858c86/32.png) [@Hollg2000](https://forum.shopware.com/u/Hollg2000)\
**Post date:** [27. März 2023 um 07:51 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/7 "2023-03-27T07:51:48Z")

</div>

Danke für die Hilfe die Umstellung wird in ca. 2-4 Wochen passieren.

---

<div class="post-metadata">

**Author:** ![ManuShop](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@ManuShop](https://forum.shopware.com/u/ManuShop)\
**Post date:** [22. Mai 2024 um 21:01 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/8 "2024-05-22T21:01:54Z")

</div>

Es ist der Wahnsinn. Wir sind fast verzweifelt an der Performance (aktuell noch auf Shopware 6.4.20.2). Nach dem Update auf MySQL 8.x rennt das Ganze wie eine Rakete!

---

<div class="post-metadata">

**Author:** ![georgkreativ](https://avatars.discourse-cdn.com/v4/letter/g/22d042/32.png) [@georgkreativ](https://forum.shopware.com/u/georgkreativ)\
**Post date:** [2. April 2025 um 16:46 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/9 "2025-04-02T16:46:57Z")

</div>

Verstehe ich richtig, ihr seid auf Shopware Version damals auf 6.4.20.2 geblieben, und habt lediglich MySQL auf 8 angehoben ? Gab es da Umstellungsaufwand seitens der Shopware Installation ?

---

<div class="post-metadata">

**Author:** ![ManuShop](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@ManuShop](https://forum.shopware.com/u/ManuShop)\
**Post date:** [3. April 2025 um 13:19 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/10 "2025-04-03T13:19:22Z")

</div>

Korrekt. Einfach die Datenbank gewechselt und sonst gab es nichts zum Umstellen. Evtl. die Datenbank-URL in der .env-Datei

---

<div class="post-metadata">

**Author:** ![stan\_o](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@stan\_o](https://forum.shopware.com/u/stan_o)\
**Post date:** [3. April 2025 um 13:19 UTC](https://forum.shopware.com/t/anpassungen-bei-umstellung-von-mysql-5-7-auf-mysql-8-1/97299/11 "2025-04-03T13:19:46Z")

</div>

Eigentlich musst Du nur ein Backup der Datenbank anlegen und dieses in die die neue einspielen. Dann den neuen Datenbankname, Login und Passwort in der env eintragen.  
Am besten davor den Shop in den Wartungsmodus versetzen um nichts zu verlieren.
