I’m trying to connect to mysql through php.I recently also installed Apache on my Windows 7 machine.
The error messages that I get are as follows:
Warning: mysql_connect() [function.mysql-connect]: [2002] No connection could be made because the target machine actively refused it. (trying to connect via tcp://localhost:3306) in C:\Apache24\htdocs\ estdb.php on line 6
Warning: mysql_connect() [function.mysql-connect]: No connection could be made because the target machine actively refused it. in C:\Apache24\htdocs\ estdb.php on line 6
Could not connect to MySQL
This is not a firewall issue because I temporarily turned it off and got the same error messages.
Thanks.