I'm trying reindex latest Magento 2 using OSX 10.11 terminal with
php bin/magento indexer:reindex command without success. Terminal returns same error on two red blocks.
– Maybe MYSQL socket problem?
ps. Magento2 is setup on MAMP PRO 3.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.Sign up to join this community
this is the same problem that is happening here:
With the solution being found here:
I just had to put this line in my .bash_profile. If you don't have one, just make one under your user.
And then add in this line, paying attention to the version of php that you are running.
# MAMP PHP export MAMP_PHP=/Applications/MAMP/bin/php/php7.0.22/bin export PATH="$MAMP_PHP:$PATH"