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

**URL:** https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757
**Category:** Installation/Einstieg
**Created:** [31. Juli 2019 um 08:46 UTC](https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757 "2019-07-31T08:46:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![freespirit63](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@freespirit63](https://forum.shopware.com/u/freespirit63)
#### Post date: [31. Juli 2019 um 08:46 UTC](https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757/1 "2019-07-31T08:46:47Z")

</div>

Hi Team, (freunde)

bekomme diese message beim DB import bei der installation…&nbsp; any help…?

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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CREATE TABLE `custom_field` (\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `id` BINARY(16) NOT NULL PRIMARY KEY,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `name` VARCHAR(255) NOT NULL,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `type` VARCHAR(255) NOT NULL,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `config` JSON NULL,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `active` TINYINT(1) NOT NULL DEFAULT 1,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `set_id` BINARY(16) NULL,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `created_at` DATETIME(3) NOT NULL,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; `updated_at` DATETIME(3) NULL,\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONSTRAINT `uniq.custom_field.name` UNIQUE&nbsp; (`name`),\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONSTRAINT `json.custom_field.config` CHECK(JSON\_VALID(`config`)),\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CONSTRAINT `fk.custom_field.set_id` FOREIGN KEY (set\_id)\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; REFERENCES `custom_field_set` (id) ON UPDATE CASCADE ON DELETE CASCADE\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4\_unicode\_ci;\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ':\n\nSQLSTATE[HY000]: General error: 1005 Can’t create table `kauwow_wow`.`custom_field` (errno: 150 “Foreign key constraint is incorrectly formed”)”}

Robert

---

<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: [31. Juli 2019 um 08:54 UTC](https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757/2 "2019-07-31T08:54:58Z")

</div>

Am besten einmal sicherstellen, dass du mindestens MariaDB 10.3 oder MySQL 5.7 nutzt.

Darüber hinaus gibt es auf manchen Hostingpaketen noch Probleme:&nbsp;[Shopware Issuetracker](https://issues.shopware.com/issues/NEXT-4072)&nbsp;

Das wird beim nächsten EA-Release gefixt.

---

<div class="post-metadata">

### Author: ![freespirit63](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@freespirit63](https://forum.shopware.com/u/freespirit63)
#### Post date: [31. Juli 2019 um 09:12 UTC](https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757/3 "2019-07-31T09:12:27Z")

</div>

the link made it work thanks for your help!!!

Robert

---

<div class="post-metadata">

### Author: ![freespirit63](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@freespirit63](https://forum.shopware.com/u/freespirit63)
#### Post date: [31. Juli 2019 um 09:31 UTC](https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757/4 "2019-07-31T09:31:23Z")

</div>

Sir, kannst du mir sagen wie und wo ich die settings mache das der path zu [kauwow.com/public](http://kauwow.com/public) geht? habe es gesucht aber nicht gefunden. ☹

---

<div class="post-metadata">

### Author: ![Raubfischfreund](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@Raubfischfreund](https://forum.shopware.com/u/Raubfischfreund)
#### Post date: [21. August 2019 um 21:00 UTC](https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757/5 "2019-08-21T21:00:06Z")

</div>

Hast du eine Lösung gefunden?

---

<div class="post-metadata">

### Author: ![SB1](https://avatars.discourse-cdn.com/v4/letter/s/0ea827/32.png) [@SB1](https://forum.shopware.com/u/SB1)
#### Post date: [21. August 2019 um 21:34 UTC](https://forum.shopware.com/t/error-received-an-error-message-url-importdatabase-message-internal-server-error/60757/6 "2019-08-21T21:34:39Z")

</div>

mysql 5.7 oder mariadb 10.3 einsetzen dann sollte es passen
