# Shopware 6 Commercial lässt sich nicht installieren

**URL:** <https://forum.shopware.com/t/shopware-6-commercial-laesst-sich-nicht-installieren/103409>\
**Category:** Shopware 6 (German)\
**Created:** [22. März 2024 um 10:25 UTC](https://forum.shopware.com/t/shopware-6-commercial-laesst-sich-nicht-installieren/103409 "2024-03-22T10:25:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chg](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chg](https://forum.shopware.com/u/chg)\
**Post date:** [22. März 2024 um 10:25 UTC](https://forum.shopware.com/t/shopware-6-commercial-laesst-sich-nicht-installieren/103409/1 "2024-03-22T10:25:15Z")

</div>

Fehlermeldung:

An exception occurred while executing a query: 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 ‚(JSON\_ARRAY()), `created_at` DATETIME(3) NOT NULL, `u‘ at line 5

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [22. März 2024 um 11:25 UTC](https://forum.shopware.com/t/shopware-6-commercial-laesst-sich-nicht-installieren/103409/2 "2024-03-22T11:25:57Z")

</div>

Was hast du für eine Datenbank Version? Wurde beim Shop zwischenzeitlich die Datenbank gewechselt?  
Ähnliche Fehler hatten wir beim Wechsel von MariaDB auf MySQL8.

---

<div class="post-metadata">

**Author:** ![chg](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chg](https://forum.shopware.com/u/chg)\
**Post date:** [22. März 2024 um 11:57 UTC](https://forum.shopware.com/t/shopware-6-commercial-laesst-sich-nicht-installieren/103409/3 "2024-03-22T11:57:29Z")

</div>

MySQL 5.7 ist aktiviert und es wurde da nichts dran geändert.

---

<div class="post-metadata">

**Author:** ![R4M](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/r4m/32/9983_2.png) [@R4M](https://forum.shopware.com/u/R4M)\
**Post date:** [22. März 2024 um 12:15 UTC](https://forum.shopware.com/t/shopware-6-commercial-laesst-sich-nicht-installieren/103409/4 "2024-03-22T12:15:02Z")

</div>

Empfohlen ist MySQL Version 8, vielleicht das auch die Ursache.

---

<div class="post-metadata">

**Author:** ![chg](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@chg](https://forum.shopware.com/u/chg)\
**Post date:** [22. März 2024 um 20:19 UTC](https://forum.shopware.com/t/shopware-6-commercial-laesst-sich-nicht-installieren/103409/5 "2024-03-22T20:19:23Z")

</div>

Danke dir für den Hinweis bzgl. MySQL 8. Das ist es natürlich, Shopware Support sagt das gleiche. Da es bis auf die Commercial Erweiterung bisher noch nirgendwo gehakt hatte, bin ich nicht von der MySQL Version als möglicher Fehlerquelle ausgegangen…
