Cannot connect to MySQL

[email protected] (The Phantom)
Newsgroups php.db
Message-ID <[email protected]>
Hello,

First of all, I apologise if I do something wrong, because I'm new to this weird system.

For test purposes, I have installed Apache 2.2.14 with PHP 5.3.1 and MySQL 5.1.44 on Windows 7 Home Premium. However, whenever I try accessing MySQL via PHP, I get the following 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.

MySQL's command line client is still working fine. I think that PHP simply does not see MySQL, though the settings in php.ini seem to be correct. Earlier (before I upgraded to Windows 7 and PHP 5.3) it worked. I've tried turning off the antivirus, because sometimes it may cause timeouts, but it didn't help. Can someone please help me fix this?
 		 	   		  
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
http://clk.atdmt.com/GBL/go/201469227/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.