CLI Befehle funktioniere nicht - Keine Verbindung zur Datenbank

Hallo zusammen,

ich möchte einen CLI Befehl über SSH ausführen. Leider bekomme ich immer die folgende Fehlermeldung:

WARNING! Could not connect to database. Message from SQL Server: SQLSTATE[HY000] [2002] No such file or directory in /httpdocs/metam/engine/Shopware/Components/DependencyInjection/Bridge/Db.php

In Container.php line 334:

  The "db_connection" service is synthetic, it needs to be set at boot time b
  efore it can be used.

In der config.php den DB-Host von localhost auf 127.0.0.1 zu ändern hat nichts gebracht. Zumal dann auch der Shop nicht mehr erreichbar ist.

Folgender Befehl wurde zum Test ausprobiert:
php bin/console sw:plugin:list
php5 bin/console sw:plugin:list