Magento Expert Forum - Improve your Magento experience
-
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.
View more threads in the same category:
-
-
hi
i am not sure if this is resolved or not. is that error correspond to db connection? is there any problem with db connection if anything changed after install?
-
-
If you enabled one or more modules, then you will need to run magento setup:upgrade to update the database schema. By default, magento setup:upgrade clears compiled code and the cache. Typically, you use magento setup:upgrade to update components and each component can require different compiled classes.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks