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 ?