Ok, here's the deal: I downloaded and installed PHPDEV last week on my computer, and I set it up to use port 8080 instead of 80 because I'm running IIS as well. I typed in http://localhost:8080 and everything worked great! The database worked fine, no problems.
Now, fast forward a week. I typed in http://localhost:8080 and nothing came up, so I typed in http://localhost, and I got my apache server, not IIS like I expected. Not only that, but it wouldn't connect to the MySQL database, I get the infamous "Can't connect to MySQL server on 'localhost' (10061)".