cancel
Showing results for 
Search instead for 
Did you mean: 

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

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

 

magento error.JPG

when i try to excute php bin/magento setup:static-content:deploy this error will show my terminal.

 

actually am using ubuntu 16.04 lts with lamp server am hosting with digitalocean server if anyone know this error sloution please pick me or replay here.

i hope someone help my issue thanks in advance.

 

1 REPLY

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

It seems a problem described in the troubleshooting section of the official Magento2 docs.

Have a look, there are some tips to solve: http://devdocs.magento.com/guides/v2.1/install-gde/trouble/php/tshoot_phpini.html