[Doctrine\DBAL\Exception\ConnectionException (2002)] An exception occurred in the driver: SQLSTATE[HY000] [2002] Connection refused #6412
Unanswered
paraskumar12011996
asked this question in
Q&A
Replies: 2 comments
-
Could you please start by doing a simple Shopware 6 quickstart, and see how that goes? https://ddev.readthedocs.io/en/stable/users/quickstart/#shopware It sure looks like you have your database connection set up wrong. The hostname, username, database, and password should all be |
Beta Was this translation helpful? Give feedback.
0 replies
-
I'm not sure what's going on here, but it's important to execute And it can be related to: These scripts may not read |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am running my shopware 6 project through DDEV, shop storefront and admin is working fine, but db URL: 127.0.0.1:32805 is shown 127.0.0.1 sent an invalid response. ERR_INVALID_HTTP_RESPONSE
When I am execute bin/build-storefront.sh command getting this below error
![image](https://private-user-images.githubusercontent.com/92661675/350686092-b0cc2758-c634-4829-b8a9-ef2c7a2d300c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNDk1MTUsIm5iZiI6MTczOTI0OTIxNSwicGF0aCI6Ii85MjY2MTY3NS8zNTA2ODYwOTItYjBjYzI3NTgtYzYzNC00ODI5LWI4YTktZWYyYzdhMmQzMDBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDA0NDY1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU2YWQ0NmYyNzExOTQyNWNhMzQ1Y2I2MzQwMWQzNGUyODE3MjJmZTBlOTk1ZjE3N2FhYTE5OWVlNjhlZjVkYzYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.--XkuUMTmL-F6dgSAv7JYzSQDe0L46I6mHjHk6XeqKk)
Through this command mysql -u db -p -h db I am getting ERROR 2003 (HY000): Can't connect to MySQL server on 'db:3306' (111)
And able to login through ddev mysql only.
So not getting the idea why this error is appending. I am using DDEV 1.23.3
Beta Was this translation helpful? Give feedback.
All reactions