It is my first time that I tried to install magento and I followed the tutorial at the following link:


However, I have a system ERROR on the top saying "One or more indexers are invalid. Make sure your Magento cron job is running.".

I am using MAMP on OSX, any idea how I could resolve this ?


run below command from magento root directory.

php bin/magento indexer:reindex
  • After i did what you said i got the following error: [Zend_Db_Adapter_Exception] SQLSTATE[HY000] [2002] No such file or directory [PDOException] SQLSTATE[HY000] [2002] No such file or directory indexer:reindex [index1] ... [indexN] – user3862110 Aug 29 '17 at 18:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.