PHP 5.3 and MySQL: A connection attempt failed because the connected party did not properly respond after a period of time…

Having difficulty connecting to MySQL through PHP 5.3.x? Know that MySQL and PHP are properly configured? Using Windows Vista / 7? The problem may very well be that you’re connecting to ‘localhost.’ According to Joe Bedan, simply changing ‘localhost’ to ‘’ will fix the problem, and he’s right!

According to another forum post, this is because Vista/7 does some goofy stuff with the ‘localhost’ alias. This person suggests that modifying the C:\Windows\System32\drivers\etc\hosts file to contain the line ‘ localhost’ will fix the problem (make sure to do this as an administrator!). Unfortunately, this wasn’t the case for me. However, it’s worth a shot for anyone experiencing this problem.


Installer Error 1327 And Windows Home Server

Recently, I’ve been experiencing the joy that is Windows Home Server.  To be short, I’d absolutely recommend WHS to anyone with at least two computers in their house.  Anyway, in an effort to reduce redundancy between my computers, I’ve centralized my “Documents” folder onto my WHS machine.  For the most part, this experience has been awesome.  Anyway, As this posts’ title alludes to, I sometimes get the following error when installing new applications: “Error 1327. Invalid Drive U:/”  My “U” drive happens to be a mapped network share that points to my documents folder.  Apparently, these applications don’t like networks very much!  In order to solve this problem, I’m forced to manually remap all of my shares to a local folder.  Definitely not cool.