# MySQL-Problem bei Installation der Early Access Version

**URL:** https://forum.shopware.com/t/mysql-problem-bei-installation-der-early-access-version/60594
**Category:** Installation / Einstieg
**Created:** [23. Juli 2019 um 08:20 UTC](https://forum.shopware.com/t/mysql-problem-bei-installation-der-early-access-version/60594 "2019-07-23T08:20:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![canetti2](https://avatars.discourse-cdn.com/v4/letter/c/a8b319/32.png) [@canetti2](https://forum.shopware.com/u/canetti2)
#### Post date: [23. Juli 2019 um 08:20 UTC](https://forum.shopware.com/t/mysql-problem-bei-installation-der-early-access-version/60594/1 "2019-07-23T08:20:05Z")

</div>

Installation auf [all-inkl.com](http://all-inkl.com) Server

&nbsp;

Hallo alle zusammen,

bei mir schmiert die Installation jedes mal bei der Datenbankinstallation ab:

**Datenbank Installation: Schritt 70 von 250**

**Fehlermeldung** :

* * *

Error

Received an error message.  
**URL:** importDatabase  
**Message:** Internal Server Error

Please try to fix this error and restart the update.

Response

```
 {"valid":false,"errorMsg":"An exception occurred while executing '\n CREATE TABLE `custom_field` (\n `id` BINARY(16) NOT NULL PRIMARY KEY,\n `name` VARCHAR(255) NOT NULL,\n `type` VARCHAR(255) NOT NULL,\n `config` JSON NULL,\n `active` TINYINT(1) NOT NULL DEFAULT 1,\n `set_id` BINARY(16) NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) NULL,\n CONSTRAINT `uniq.custom_field.name` UNIQUE (`name`),\n CONSTRAINT `json.custom_field.config` CHECK(JSON\_VALID(`config`)),\n CONSTRAINT `fk.custom_field.set_id` FOREIGN KEY (set\_id)\n REFERENCES `custom_field_set` (id) ON UPDATE CASCADE ON DELETE CASCADE\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4\_unicode\_ci;\n ':\n\nSQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint"}

```

* * *

Ich habe den Prozess drei mal durchlaufen und jedes mal die DB komplett gelöscht - leider ohne Erfolg. Vor der Installation wurden alle Voraussetzungen erfüllt - alle Häkchen grün!

MySQL 5.7.26

PHP Version 7.3.6

Woran kann es liegen? Ist der Fehler bekannt?

&nbsp;

&nbsp;

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [23. Juli 2019 um 08:31 UTC](https://forum.shopware.com/t/mysql-problem-bei-installation-der-early-access-version/60594/2 "2019-07-23T08:31:46Z")

</div>

Wird wohl diees Thema sein:&nbsp;[Shopware Issuetracker](https://issues.shopware.com/issues/NEXT-4072)
