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

asked Feb 23, 2023 at 14:13

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.

answered Feb 23, 2023 at 14:21

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.