Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

How to solve error An exception occurred in driver: SQLSTATE[HY000] [2002] Connection timed out error in symfony 4 project deployed on amazon aws

$
0
0

My symfony project is working fine on localhost . i am able to connect to amazon aws rds on localhost .I have set mysql configuration in .env file of the symfony project . when i have uploaded/deployed the same project on the amazon-aws . i am getting this error :


An exception occurred in driver: SQLSTATE[HY000] [2002] Connection timed out

Question:
How can i debug this error ?
Is this issue is related to the amazon aws configuration ?


Viewing all articles
Browse latest Browse all 3925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>