# Shopware 6.5.2.1 benötigt MariaDB 10.9?

**URL:** https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388
**Category:** Shopware 6 (German)
**Tags:** administration
**Created:** [5. Juli 2023 um 10:10 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388 "2023-07-05T10:10:59Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![enerSpace](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/enerspace/32/13552_2.png) [@enerSpace](https://forum.shopware.com/u/enerSpace)
#### Post date: [5. Juli 2023 um 10:10 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388/1 "2023-07-05T10:10:59Z")

</div>

Hallo Shopware Team,

wir sind auf das Ticket [Shopware Issuetracker](https://issues.shopware.com/issues/NEXT-29051) gestoßen, das uns einige Kopfschmerzen bereitet. Es scheint, dass die SQL-Funktion `JSON_OVERLAPS` ab Shopware Version 6.5.2.1 verwendet wird. Diese Funktion ist jedoch erst mit MariaDB Version 10.9 integriert worden. Dies stellt uns aktuell vor ein Problem, das wir nicht umgehend lösen können. Ein Update ist nur mit einer Übergangsphase möglich, da einige ältere Programme unserer Kunden auf MariaDB \<= 10.5 angewiesen sind.

Es wäre hilfreich, wenn die `JSON_OVERLAPS` Funktion entweder entfernt oder zurückgestellt werden könnte und MariaDB \< 10.9 für einige Wochen als „deprecated“ angesehen wird.

VG Rico von [enerspace.de](http://enerspace.de)

---

<div class="post-metadata">

### Author: ![webaktivist](https://avatars.discourse-cdn.com/v4/letter/w/3e96dc/32.png) [@webaktivist](https://forum.shopware.com/u/webaktivist)
#### Post date: [12. Juli 2023 um 09:31 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388/2 "2023-07-12T09:31:31Z")

</div>

Hier bei uns die gleiche Problematik.

---

<div class="post-metadata">

### Author: ![bettenundwohnen](https://avatars.discourse-cdn.com/v4/letter/b/ea666f/32.png) [@bettenundwohnen](https://forum.shopware.com/u/bettenundwohnen)
#### Post date: [12. Juli 2023 um 17:47 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388/3 "2023-07-12T17:47:55Z")

</div>

Hier auch. Obwohl der Betrieb geht. Mir ist es nur aufgefallen als ich media:unused testen wollte, da hier ja nun angeblich auch erstmal nur ein lookup möglich ist welche Medien ungenutzt sind. Geht dadurch jedoch nicht, da das ein Feature von Maria DB 10.9 ist.

 ![Screenshot 2023-07-12 194735](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/3X/8/1/818ba661153f5879ca43ac9289c3974726af10f1.png)

---

<div class="post-metadata">

### Author: ![MBDealer](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/mbdealer/32/27217_2.png) [@MBDealer](https://forum.shopware.com/u/MBDealer)
#### Post date: [13. Juli 2023 um 06:56 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388/4 "2023-07-13T06:56:27Z")

</div>

Ja, für media:delete-unused wird MariaDB 10.9 oder MySQL 8 benötigt. Siehe: [Requirements - Shopware Developer](https://developer.shopware.com/docs/guides/installation/requirements#sql)

---

<div class="post-metadata">

### Author: ![magnolia4gmbh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magnolia4gmbh/32/13167_2.png) [@magnolia4gmbh](https://forum.shopware.com/u/magnolia4gmbh)
#### Post date: [13. Juli 2023 um 07:30 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388/5 "2023-07-13T07:30:10Z")

</div>

Diese Anforderung wurde erst nach diesem „Aufruf“ hier im Forum, bei Slack und im IssueTracker von Shopware ergänzt 😉

---

<div class="post-metadata">

### Author: ![webaktivist](https://avatars.discourse-cdn.com/v4/letter/w/3e96dc/32.png) [@webaktivist](https://forum.shopware.com/u/webaktivist)
#### Post date: [13. Juli 2023 um 07:32 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388/6 "2023-07-13T07:32:54Z")

</div>

Ja, das ist vom Prozess schon ungünstig gelaufen. Reverted wird der Change aber ja vermutlich nicht - laut Bugtracker.

Vielleicht finden wir noch einen Workaround, wie wir trotzdem Thumbnails aufräumen können - ohne diesen Command?

---

<div class="post-metadata">

### Author: ![magnolia4gmbh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/magnolia4gmbh/32/13167_2.png) [@magnolia4gmbh](https://forum.shopware.com/u/magnolia4gmbh)
#### Post date: [13. Juli 2023 um 07:35 UTC](https://forum.shopware.com/t/shopware-6-5-2-1-benoetigt-mariadb-10-9/100388/7 "2023-07-13T07:35:11Z")

</div>

Wir haben hierfür einen workaround mit einem Script über die API gebaut.
