I have magento 2 running with this vagrant setup https://github.com/rgranadino/mage2_vagrant and Im receiving this error when trying
php bin/magento indexer:reindex

If I change the db host in app/etc/env.php to localhost instead of 127.0.0.1 I get

STUCK!!