@cvallehn
Please check all possible things which can be there for your problems.

https://stackoverflow.com/questions/39935545/symfony3-sqlstatehy000-2002-no-such-file-or-directory?rq=1

https://github.com/hechoendrupal/drupal-console/issues/845#issuecomment-138745540

https://stackoverflow.com/questions/20723803/pdoexception-sqlstatehy000-2002-no-such-file-or-directory