Hello,
I need help !!
I am getting this error when trying to connect with the MySQL database at the time of bulding new project or in any old project.
An error occurred while connecting to the database:
Connection attempt failed: SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond."
Everything was working fine and then I don’t know why this problem appeared that prevents me from connecting to the database
Notes:
1> I am using windows 10.
2> my IP address is static
3> my IP address is on the Whitelist of the host server
4> my Internet provider assures that the problem is not from them!!
5> my Host service provider assures that the problem is no from them!!