Error while executing php bin/magento setup:upgrade
I am trying to execute Magento 2.0 in my localhost.
after the sucessfull installation of the Magento when i try to execute the command php bin/magento setup:upgrade.
I am getting the following error.
[Zend_Db_Adapter_Exception]
SQLSTATE[HY000] [2002] No such file or directory
[PDOException]
SQLSTATE[HY000] [2002] No such file or directory
setup:upgrade [--keep-generated] [--magento-init-params="..."]
Does anyone come accross this issue. ?
Please help to fix this.