Cannot connect to MySQL

From: Date: Fri, 05 Mar 2010 14:33:36 +0000
Subject: Cannot connect to MySQL
Groups: php.db 
Request: Send a blank email to php-db+get-46928@lists.php.net to get a copy of this message
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/

« previous php.db (#46928) next »