Magento 2.3 – php 7.2.10 – Reindex error – bin/magento is not opening –

MacOS High Sierra
MAMP php webserver – 7.2.10

/Applications/MAMP/bin/php/php7.2.10/bin//php- 7.2.10

 -- usr/bin/php - 7.1.16




Nittns-MacBook-Air:~ baanallc$ cd /applications/MAMP/htdocs/23/

Nittns-MacBook-Air:23 baanallc$ php bin/magento indexer:reindex

In Abstract.php line 144:

  SQLSTATE[HY000] [2002] No such file or directory  


In Abstract.php line 128:

  SQLSTATE[HY000] [2002] No such file or directory  


indexer:reindex [<index>...]

Please advise, how can I reindex magento2 on localhost MAMP?


Go to Source of this post
Author Of this post: NiW
Title Of post: Magento 2.3 – php 7.2.10 – Reindex error – bin/magento is not opening –
Author Link: {authorlink}