SQL Database doesn't respond (Connection Timed out)

Username:epiz_25987015
Website: http://writesoftorders.epizy.com/SereneEvents

Error Message

Warning : mysqli::__construct(): (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. in D:\XamppServer\htdocs\SereneEvents\viewProject\index.php on line 37
Connection failed: 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.

Other Information

I also tried pinging my database’s server using command prompt,
ping sql205.epizy.com

Pinging DATABASEURL [192.168.0.175] with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.

Ping statistics for 192.168.0.175:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

###Note:
I created this website just an hour ago, the database is working fine from phpmyadmin panel where i managed to edit a few entries too, but it isn’t working when I try to connect to it from my locally hosted php website (All credentials entered by me for server name etc are valid, the error is because of connection)

Hello there,

So where did you exactly get or see that error? Your site looks fine here on my end.

Also you cannot ping our servers. Any ping attempt will be blocked.

Did you type the password correctly and what about the server name it’s not localhost

The client already specified that he/she’s not using localhost:

Also @MicroChip you may want to refer to this Knowledge Base article:

MySQL remote access is not supported on free hosting, and that’s why you can’t access the database from your local machine. If you want it please consider upgrading to Premium Hosting as it offers many features.

4 Likes

Think there’s some problem with the script.
Download xamp server on your computer and try to test it using correct php script. The error you are seeing in your command prompt is right here also. Just there is some problem with script.
Go through it once again.

@horrd_ayaan

@Ergastolator1 already sent a reply above, that MySQL remote access is not supported here meaning it won’t work when you want to connect to an InfinityFree MySQL database outside InfinityFree. Whether the script is correct or not, you can’t access the MySQL database remotely.

2 Likes

That is what I am trying to explain

I think the problem is with the server. I also faced many errors while I was creating and connecting database obviously with the right PHP script.

Thankyou so much everyone for the quick replies! I believe the problem is only because I was trying to access it outside of my hosting account. The website hasn’t gone live yet but I wanted to test it out once before it did. Thankyou again.

OTT: From your experiences, how long can it take for my website to go live if it has a really small size (3 webpages with no media)

2 Likes

Im confused. :sweat_smile:

If you are referring to the webpage speed, it can only take less than a second (approximately 200milliseconds or even lower).

If you are referring to when will your site be active after making html, css changes, it should be instant. (Just don’t forget to clear cache)

If you are referring to when will your site be active (new account, fresh start), it takes between 24 hours to 72 hours.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.