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

I have deployed my symfony 5 API on my host but when I try to authenticate with my connection form on the Angular 10 client side,
i get this error

here is the syntax of my database url in my .env:

DATABASE_URL = mysql://name:[email protected]/dbname

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *