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

Getting "SQLSTATE[HY000] [2002] Connection refused" when trying to deploy on AWS #176

Open
PedroReichert opened this issue Aug 5, 2021 · 1 comment

Comments

@PedroReichert
Copy link

PedroReichert commented Aug 5, 2021

Greetings,
I'm trying to deploy my commit to an AWS EC2 running docker (same config as my local docker) through CodePipeline, but I'm getting the error of the image below.

Locally, everything runs fine, and when I uninstall the laravel-mysql-spatial package from the commit and send it to AWS, it's successfully installed, meaning the problem has to do with the packaged and something in AWS. But I tried everything I know, and now I'm running out of ideas, that's why I came for you wizards of GitHub!

Thank you for tour attention!

image

@aprivette
Copy link

I had the same issue except in Github Actions. In my case I was able to get around this issue by switching away from the database cache driver. I'm still not super sure why this is a conflict, but I'm happy with moving to Redis!

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

2 participants