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
Noor Mohamed
5151 gold badge3 silver badges12 bronze badges
1 Answer 1
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
Clong
1,3441 gold badge13 silver badges32 bronze badges
Explore related questions
See similar questions with these tags.
default