There has been an error processing your request
SQLSTATE[HY000] [2002] No such file or directory
Getting the above error please someone provide me solution to solve this.
MySQL
There has been an error processing your request
SQLSTATE[HY000] [2002] No such file or directory
Getting the above error please someone provide me solution to solve this.
Best Answer
I had the same issue while installing Magento 2.1.0 with PHP 7.0.13.
I could resolve this issue by setting the database hostname as 127.0.0.1 instead of localhost .