I am using the following statement to connect to MySQL using PHP on Windows 2000.
$connect = mysql_connect("localhost", "root", "azbycx") or die (mysql_error());
Unfortunately I get the following error.
Warning: mysql_connect() [function.mysql-connect.chm]: Can't connect to MySQL server on 'localhost' (10061) in D:\xyz\phptest.php on line 3
Can't connect to MySQL server on 'localhost' (10061)
I can connect to and manipulate MySQL via the command prompt without problem.
Does anybody have any idea what I should be looking at ?
All help VERY welcome.
$connect = mysql_connect("localhost", "root", "azbycx") or die (mysql_error());
Unfortunately I get the following error.
Warning: mysql_connect() [function.mysql-connect.chm]: Can't connect to MySQL server on 'localhost' (10061) in D:\xyz\phptest.php on line 3
Can't connect to MySQL server on 'localhost' (10061)
I can connect to and manipulate MySQL via the command prompt without problem.
Does anybody have any idea what I should be looking at ?
All help VERY welcome.