# Datenbankproblem bei Update von 6.4.15.1 auf 6.4.15.2

**URL:** <https://forum.shopware.com/t/datenbankproblem-bei-update-von-6-4-15-1-auf-6-4-15-2/96534>\
**Category:** Shopware 6 (German)\
**Created:** [5. Oktober 2022 um 16:20 UTC](https://forum.shopware.com/t/datenbankproblem-bei-update-von-6-4-15-1-auf-6-4-15-2/96534 "2022-10-05T16:20:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MultiThread](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@MultiThread](https://forum.shopware.com/u/MultiThread)\
**Post date:** [5. Oktober 2022 um 16:20 UTC](https://forum.shopware.com/t/datenbankproblem-bei-update-von-6-4-15-1-auf-6-4-15-2/96534/1 "2022-10-05T16:20:25Z")

</div>

Hallo,

nach dem Update habe ich einen Datenbankfehler.

Dieser Shop wurde per Migration aus einem Shopware 5 geschaffen.

Die Tabellen language, locale und locale\_translation habe ich auch schon gelöscht gehabt, hat aber keinen Erfolg gebracht.

Hat jemand eine Idee dazu?

Error  
Received the following error message:  
An exception occurred while executing ‚CREATE TABLE `locale` ( `id` BINARY(16) NOT NULL, `code` VARCHAR(255) COLLATE utf8mb4\_unicode\_ci NOT NULL, `created_at` DATETIME(3) NOT NULL, `updated_at` DATETIME(3) NULL, PRIMARY KEY (`id`), UNIQUE KEY `uniq.code` (`code`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4\_unicode\_ci;‘: SQLSTATE[42S01]: Base table or view already exists: 1050 Table ‚locale‘ already exists

Please try to fix this error and restart the update.  
Response  
{„valid“:false,„errorMsg“:„An exception occurred while executing ‚CREATE TABLE `locale` (\n `id` BINARY(16) NOT NULL,\n `code` VARCHAR(255) COLLATE utf8mb4\_unicode\_ci NOT NULL,\n `created_at` DATETIME(3) NOT NULL,\n `updated_at` DATETIME(3) NULL,\n PRIMARY KEY (`id`),\n UNIQUE KEY `uniq.code` (`code`)\n ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4\_unicode\_ci;‘:\n\nSQLSTATE[42S01]: Base table or view already exists: 1050 Table ‚locale‘ already exists“}

---

<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:** [6. Oktober 2022 um 08:49 UTC](https://forum.shopware.com/t/datenbankproblem-bei-update-von-6-4-15-1-auf-6-4-15-2/96534/2 "2022-10-06T08:49:32Z")

</div>

Ist 6.4.15.2 nicht nur ein Update von twig? Verwunderlich, dass da etwas an der Datenbank geändert werden soll.

Wie hast du denn das Update durchgeführt?

---

<div class="post-metadata">

**Author:** ![MultiThread](https://avatars.discourse-cdn.com/v4/letter/m/3da27b/32.png) [@MultiThread](https://forum.shopware.com/u/MultiThread)\
**Post date:** [6. Oktober 2022 um 11:44 UTC](https://forum.shopware.com/t/datenbankproblem-bei-update-von-6-4-15-1-auf-6-4-15-2/96534/3 "2022-10-06T11:44:39Z")

</div>

Ich habe das über das Backend eingespielt
