# Fehler bei Konsolenaufruf

**URL:** <https://forum.shopware.com/t/fehler-bei-konsolenaufruf/35247>\
**Category:** Programmierung\
**Created:** [13. März 2016 um 10:38 UTC](https://forum.shopware.com/t/fehler-bei-konsolenaufruf/35247 "2016-03-13T10:38:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hbee](https://avatars.discourse-cdn.com/v4/letter/h/f08c70/32.png) [@hbee](https://forum.shopware.com/u/hbee)\
**Post date:** [13. März 2016 um 10:38 UTC](https://forum.shopware.com/t/fehler-bei-konsolenaufruf/35247/1 "2016-03-13T10:38:04Z")

</div>

hi, wenn ich die Shopware CLI nutzen möchte bekomme ich folgenden Fehler. Das tritt jetzt nach einem Serverumzug auf Nginx auf. Gleiche Installation auf Apache läuft Problemlos.

Der Fehler tritt bei allen Komandos auf.&nbsp;

PHP-Version ist 5.6.8. Weiß jemand Rat?

```
/opt/php-5.6.8/bin/php bin/console sw:plugin:list  
 WARNING! SQLSTATE[HY000] [2002] No such file or directory in /web/engine/Library/Enlight/Components/Db/Adapter/Pdo/Mysql.php 

                                                    
  [Zend_Db_Adapter_Exception]                       
  SQLSTATE[HY000] [2002] No such file or directory  
                                                    

sw:plugin:list [--filter [FILTER]] [--namespace [NAMESPACE]]

```

&nbsp;

&nbsp;

---

<div class="post-metadata">

**Author:** ![DanielNogel](https://avatars.discourse-cdn.com/v4/letter/d/96bed5/32.png) [@DanielNogel](https://forum.shopware.com/u/DanielNogel)\
**Post date:** [13. März 2016 um 10:50 UTC](https://forum.shopware.com/t/fehler-bei-konsolenaufruf/35247/2 "2016-03-13T10:50:20Z")

</div>

Hi,

ich vermute, dass er das Socket-File nicht findet, siehe hier:&nbsp;[http://forum.shopware.com/discussion/comment/133279/#Comment\_133279](http://forum.shopware.com/discussion/comment/133279/#Comment_133279)

Versuche mal 127.0.0.1 als SQL-Host - das hilft oft schon.

Daniel
