1

Why do some Magento 2 installations encounter database-related errors, such as "SQLSTATE[HY000] [2002] Connection refused" or "Table 'magento.x' doesn't exist"?strong text

1 Answer 1

2

You probably have wrong credential in your env.php for the database. Try to connect first to your database without magento.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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