# Hilfe: Uncaught exception 'Zend\_Db\_Adapter\_Exception'

**URL:** <https://forum.shopware.com/t/hilfe-uncaught-exception-zend-db-adapter-exception/32051>\
**Category:** Allgemein\
**Tags:** resolved-topics\
**Created:** [8. November 2015 um 16:53 UTC](https://forum.shopware.com/t/hilfe-uncaught-exception-zend-db-adapter-exception/32051 "2015-11-08T16:53:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chris\_52](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@chris\_52](https://forum.shopware.com/u/chris_52)\
**Post date:** [8. November 2015 um 16:53 UTC](https://forum.shopware.com/t/hilfe-uncaught-exception-zend-db-adapter-exception/32051/1 "2015-11-08T16:53:03Z")

</div>

Hallo, habe seit heute den Fehler: [quote] Fatal error: Uncaught exception ‘Zend\_Db\_Adapter\_Exception’ with message ‘SQLSTATE[HY000] [2002] No such file or directory’ in /homepages/16/d67213823/htdocs/shop/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php:101 Stack trace: #0 /homepages/16/d67213823/htdocs/shop/engine/Library/Zend/Db/Adapter/Abstract.php(316): Enlight\_Components\_Db\_Adapter\_Pdo\_Mysql-\>\_connect() #1 /homepages/16/d67213823/htdocs/shop/engine/Library/Zend/Db/Adapter/Pdo/Abstract.php(263): Zend\_Db\_Adapter\_Abstract-\>getConnection() #2 /homepages/16/d67213823/htdocs/shop/engine/Shopware/Components/DependencyInjection/Bridge/Db.php(45): Zend\_Db\_Adapter\_Pdo\_Abstract-\>exec(‘SET @@session.s…’) #3 /homepages/16/d67213823/htdocs/shop/cache/proxies/Shopware201504021339ProductionProjectContainer.php(146): Shopware\Components\DependencyInjection\Bridge\Db-\>factory(‘pdo\_mysql’, Array) #4 /homepages/16/d67213823/htdocs/shop/vendor/symfony/dependency-injection/Symfony/Component/DependencyInjection/Container.php(326): Shopware201504021339ProductionProjectC in /homepages/16/d67213823/htdocs/shop/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php on line 101[/quote] Obwohl ich schon ein Backup der DB und der Dateien (bis auf die Ordner Media und Cache) eingespielt habe, bleibt dieser Fehler bestehen. Brauche dringend Hilfe! Webhosting Server bei 1&1.

---

<div class="post-metadata">

**Author:** ![Chris.L](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@Chris.L](https://forum.shopware.com/u/Chris.L)\
**Post date:** [8. November 2015 um 17:05 UTC](https://forum.shopware.com/t/hilfe-uncaught-exception-zend-db-adapter-exception/32051/2 "2015-11-08T17:05:41Z")

</div>

Einen ähnlichen hatten wir doch erst vor ein paar Tagen siehe: [allgemein-f25/shop-plotzlich-kaputt-t32479.html#p141253](http://forum.shopware.com/allgemein-f25/shop-plotzlich-kaputt-t32479.html#p141253) Die Lösung steht ein paar Beiträge drunter, vielleicht bei dir das selbe.

---

<div class="post-metadata">

**Author:** ![chris\_52](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@chris\_52](https://forum.shopware.com/u/chris_52)\
**Post date:** [8. November 2015 um 17:22 UTC](https://forum.shopware.com/t/hilfe-uncaught-exception-zend-db-adapter-exception/32051/3 "2015-11-08T17:22:03Z")

</div>

Hi, meine Fehlermeldung ist etwas anders. An der config.php wurde nichts geändert, habe aber auch schon mindestens 5mal das Backup der Datei eingespielt. Die Datenbank kann ich per phpmyadmin ansprechen und einsehen.

---

<div class="post-metadata">

**Author:** ![chris\_52](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@chris\_52](https://forum.shopware.com/u/chris_52)\
**Post date:** [8. November 2015 um 18:00 UTC](https://forum.shopware.com/t/hilfe-uncaught-exception-zend-db-adapter-exception/32051/4 "2015-11-08T18:00:41Z")

</div>

Hallo, Shop läuft wieder. Hatte ja mehrfach alle Dateien bis auf die Ordner Cache und Media zurückgespielt, ohne Erfolg. Habe jetzt aus dem Ordner Cache den Unterordner Proxies zurückgespielt und ich komme wieder ins Backend!!! An welcher Datei es genau lag, weiß ich nicht.

---

<div class="post-metadata">

**Author:** ![chris\_52](https://avatars.discourse-cdn.com/v4/letter/c/b19c9b/32.png) [@chris\_52](https://forum.shopware.com/u/chris_52)\
**Post date:** [15. November 2015 um 16:13 UTC](https://forum.shopware.com/t/hilfe-uncaught-exception-zend-db-adapter-exception/32051/5 "2015-11-15T16:13:49Z")

</div>

Hi, es war doch anders. Ich kam zwar wieder rein, aber flog auch wieder raus. Es lag tatsächlich an der config.php. Es war doch der falsche Datenbankname. Man sollte immer alle Ziffern genau prüfen, das erspart einem manche Stunde Fehlersuche.
