Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

indexer:reindex error #70

Open
lukermiller opened this issue Jan 18, 2017 · 0 comments
Open

indexer:reindex error #70

lukermiller opened this issue Jan 18, 2017 · 0 comments

Comments

@lukermiller
Copy link

Recieving the following two errors when trying to reindex from CLI
$ php bin/magento indexer:reindex

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

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

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

[Zend_Db_Adapter_Exception]
SQLSTATE[HY000] [2002] Connection refused

[PDOException]
SQLSTATE[HY000] [2002] Connection refused

Where did I go wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant