Failed to connect to the database

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