Recently I had a problem while using my code hosted on infinityfree and it’s using external MySQL db on Aiven.
Each time I tried to connect to db I got:
SQLSTATE[HY000] [2002] Connection refused
No matter what I tried, same error always, but on different hosting it’s connecting to Aiven DB correctly.
I’m sure no IP filtering is being used on Aiven side.
Could anyone assist me?