canadabeeau Posted February 21, 2010 Share Posted February 21, 2010 Warning: mysqli::mysqli() [mysqli.mysqli]: (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 C:\inetpub\wwwroot\functions.php on line 4 Why is this error code happening, I get the fact that it is unable to find the DB, but why, it has only just recently started to happen and is now a major problem. Any help would be greatly appreciated, PS I can enter my login details into phpmyadmin but it doesn't load because of a similar error. I have tried reinstalling my entire machine, Winodws, Apache, MySQL to lot and still getting this error Link to comment https://forums.phpfreaks.com/topic/192788-connection-error/ Share on other sites More sharing options...
ram4nd Posted February 21, 2010 Share Posted February 21, 2010 This is php coding forum, if you have no code then you are in wrong place. You can post your code or check the connection data. If you really reinstalled your OS cause of this then that was a waste of time Link to comment https://forums.phpfreaks.com/topic/192788-connection-error/#findComment-1015585 Share on other sites More sharing options...
mattal999 Posted February 21, 2010 Share Posted February 21, 2010 Is the MySQL that you are trying to connect to on a remote server (development) or local server? If it's remote, then the server is most likely down. If it is local then you'll need to go look at the MySQL help pages. Link to comment https://forums.phpfreaks.com/topic/192788-connection-error/#findComment-1015593 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.