# Datenbankanbindung Slim Fehler nach Update auf 5.21

**URL:** <https://forum.shopware.com/t/datenbankanbindung-slim-fehler-nach-update-auf-5-21/37947>\
**Category:** Administration\
**Created:** [5. Juli 2016 um 18:56 UTC](https://forum.shopware.com/t/datenbankanbindung-slim-fehler-nach-update-auf-5-21/37947 "2016-07-05T18:56:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ladenbesitzer](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@Ladenbesitzer](https://forum.shopware.com/u/Ladenbesitzer)\
**Post date:** [5. Juli 2016 um 18:56 UTC](https://forum.shopware.com/t/datenbankanbindung-slim-fehler-nach-update-auf-5-21/37947/1 "2016-07-05T18:56:24Z")

</div>

Hallo,

ich habe heute ein Update auf 5.21 gemacht und komme leider weder in das Backend noch in das Frontend.

Es erscheint folgender Fehler:

```
 Slim Application Error The application could not run because of the following error: Details \*Type:\* RuntimeException \*Code:\* 1045 \*Message:\* Could not connect to database. Message from SQL Server: SQLSTATE[HY000] [1045] Access denied for user '\*\*\*\*\*\*'@'localhost' (using pass\*\*\*\*\*\*rd: YES) \*[File:\*](File:*) /var/www/virtual/wo/html/engine/Shopware/Components/DependencyInjection/Bridge/Db.php \*Line:\* 71 Trace #0 /var/www/virtual/wo/html/engine/Shopware/Kernel.php(275): Shopware\Components\DependencyInjection\Bridge\Db::createPDO(Array) #1 /var/www/virtual/wo/html/recovery/update/src/DependencyInjection/Container.php(175): Shopware\Kernel-\>boot() #2 /var/www/virtual/wo/html/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Update\DependencyInjection\Container- 

```

> Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))

```
 #3 /var/www/virtual/wo/html/recovery/update/src/DependencyInjection/Container.php(184): Pimple\Container-\>offsetGet('shopware.contai...') #4 /var/www/virtual/wo/html/recovery/common/vendor/pimple/pimple/src/Pimple/Container.php(113): Shopware\Recovery\Update\DependencyInjection\Container- 

```

> Shopware\Recovery\Update\DependencyInjection{closure}(Object(Pimple\Container))

```
 #5 /var/www/virtual/wo/html/recovery/common/src/DependencyInjection/Container.php(80): Pimple\Container-\>offsetGet('shopware.theme\_...') #6 /var/www/virtual/wo/html/recovery/update/src/app.php(164): Shopware\Recovery\Common\DependencyInjection\Container- 

```

> get(‚shopware.theme\_…‘)

```
 #7 [internal function]: {closure}() #8 /var/www/virtual/wo/html/recovery/common/vendor/slim/slim/Slim/Route.php(462): call\_user\_func\_array(Object(Closure), Array) #9 /var/www/virtual/wo/html/recovery/common/vendor/slim/slim/Slim/Slim.php(1326): Slim\Route-\>dispatch() #10 /var/www/virtual/wo/html/recovery/common/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim-\>call() #11 /var/www/virtual/wo/html/recovery/common/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash-\>call() #12 /var/www/virtual/wo/html/recovery/common/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride-\>call() #13 /var/www/virtual/wo/html/recovery/common/vendor/slim/slim/Slim/Slim.php(1271): Slim\Middleware\PrettyExceptions-\>call() #14 /var/www/virtual/wo/html/recovery/update/index.php(46): Slim\Slim-\>run() #15 {main} 

```

PS: die ~/config.php sieht korrekt aus

---

<div class="post-metadata">

**Author:** ![steinsoftware](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@steinsoftware](https://forum.shopware.com/u/steinsoftware)\
**Post date:** [6. Juli 2016 um 06:26 UTC](https://forum.shopware.com/t/datenbankanbindung-slim-fehler-nach-update-auf-5-21/37947/2 "2016-07-06T06:26:00Z")

</div>

hmm… hier [https://forum.shopware.com/discussion/38564/slim-application-error-could-not-connect-to-database-nach-datenbank-import#latest](https://forum.shopware.com/discussion/38564/slim-application-error-could-not-connect-to-database-nach-datenbank-import#latest) hat noch jemand das Problem.

Vl. habt ihr gemeinsamkeiten im Setup?

---

<div class="post-metadata">

**Author:** ![Ladenbesitzer](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@Ladenbesitzer](https://forum.shopware.com/u/Ladenbesitzer)\
**Post date:** [6. Juli 2016 um 07:17 UTC](https://forum.shopware.com/t/datenbankanbindung-slim-fehler-nach-update-auf-5-21/37947/3 "2016-07-06T07:17:38Z")

</div>

Hallo, velen Dank für das Erstellen der Verbindung. Bei mir handelt es sich in der Tat auch um einen Uberspace mit MariaDB und PHP7

---

<div class="post-metadata">

**Author:** ![Ladenbesitzer](https://avatars.discourse-cdn.com/v4/letter/l/dc4da7/32.png) [@Ladenbesitzer](https://forum.shopware.com/u/Ladenbesitzer)\
**Post date:** [12. Juli 2016 um 06:11 UTC](https://forum.shopware.com/t/datenbankanbindung-slim-fehler-nach-update-auf-5-21/37947/4 "2016-07-12T06:11:40Z")

</div>

Ich habe vorerst 5.16 wiederhergestellt.
