A connection attempt failed error
It looks on windows php5.3 has some kind of confusion on localhost 🙂
I have been using the earlier version without any problem and the moment I update to the newer version.
I got error: 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.
As a remedy, just change the localhost with 127.0.0.1 and it will work like a charm…
Prev –
mysql_connect('localhost', 'root', 'root');
To
mysql_connect('127.0.0.1', 'root', 'root');
Click here to See how you can upgrade mysql
While you are here, I would recommend for you:
Do you know how to add scroll bar to mysql terminal?
How I setup LAMP on AWS step by step
Learn nodeJs with AngularJS in a complete project step by step