Hello all. I am very frustrated here. I installed PHP (Windows installer version, with mysql enabled, current version) on WinXP Pro - PWS/IIS5.1.
Without touching php.ini file (sans user and passwd), I tried to connect likethis : $link = mysql_connect("localhost", "cdp", "cdp")
or die("<br><br>Could not connect: " . mysql_error());
I unfortunately got an error like this: Warning: mysql_connect(): Can't connect to MySQL server on '192.168.1.100' (10061) in c:\inetpub\wwwroot\p\index.php on line 11
Since the mysql libraries are in php, I can't test anything using the console as I normally do in linux. I did do a netstat -a and did not see anything on 3306 (even when hard coded). I tried hardcoding different hostnames (localhost, 127.0.0.1, 192.168.1.100, machinename, etc) to no avail. I tried hardcoding the port to no avail.
Any ideas out there? This is really frustrating and I need to make this work!! Thanks to all.