# Nach DB Wechsel - Could not connect to database

**URL:** <https://forum.shopware.com/t/nach-db-wechsel-could-not-connect-to-database/102408>\
**Category:** Shopware 6 (German)\
**Created:** [3. Januar 2024 um 09:32 UTC](https://forum.shopware.com/t/nach-db-wechsel-could-not-connect-to-database/102408 "2024-01-03T09:32:47Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![stan\_o](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@stan\_o](https://forum.shopware.com/u/stan_o)\
**Post date:** [3. Januar 2024 um 11:00 UTC](https://forum.shopware.com/t/nach-db-wechsel-could-not-connect-to-database/102408/12 "2024-01-03T11:00:58Z")

</div>

Moin,  
hatten wir auch mal. Bei uns lag es daran, dass wir das PW von der Datenbank einfach eingefügt haben.  
Nachdem wir es durch [https://www.urlencoder.org/](https://www.urlencoder.org/) geschickt und eingefügt hatten funktionierte es plötzlich…  
Alter faden im Forum [Datenbank Passwort in der .env richtig escapen](https://forum.shopware.com/t/datenbank-passwort-in-der-env-richtig-escapen/91906)

---

_[View the full topic](https://forum.shopware.com/t/nach-db-wechsel-could-not-connect-to-database/102408)._
