# falsche Datenbank wird verwendet

**URL:** <https://forum.shopware.com/t/falsche-datenbank-wird-verwendet/64567>\
**Category:** Installation / Einstieg\
**Created:** [9. Februar 2020 um 19:39 UTC](https://forum.shopware.com/t/falsche-datenbank-wird-verwendet/64567 "2020-02-09T19:39:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tommsen](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@tommsen](https://forum.shopware.com/u/tommsen)\
**Post date:** [9. Februar 2020 um 19:39 UTC](https://forum.shopware.com/t/falsche-datenbank-wird-verwendet/64567/1 "2020-02-09T19:39:01Z")

</div>

Hallo,

meine .psh.yaml.override sieht so aus

```
root@2db772d0a9b7:/var/www/development# cat .psh.yaml.override
const:
  APP_ENV: "dev"
  APP_URL: "http://localhost"
  DB_HOST: "database"
  DB_PORT: "3306"
  DB_NAME: "shopware"
  DB_USER: "shopware"
  DB_PASSWORD: "password"

```

Bei der Installation wird versucht eine andere DB zu löschen:

```
(16/40) Starting
> mysql -u 'shopware' -p'password' -h 'database' --port='3306' -e "DROP DATABASE IF EXISTS \`shopware_test\`"
        ERROR 1044 (42000) at line 1: Access denied for user 'shopware'@'%' to database 'shopware_test'

```

wieso wird nicht die per yaml konfigurierte DB verwendet?

viele Grüße

---

<div class="post-metadata">

**Author:** ![ShapeAndShift](https://avatars.discourse-cdn.com/v4/letter/s/5f8ce5/32.png) [@ShapeAndShift](https://forum.shopware.com/u/ShapeAndShift)\
**Post date:** [10. Februar 2020 um 06:07 UTC](https://forum.shopware.com/t/falsche-datenbank-wird-verwendet/64567/2 "2020-02-10T06:07:53Z")

</div>

Shopware legt mehrere Datenbanken an.

shopware, shopware\_e2e, shopware\_test

shopware ist in dem Falle der DB Name.
