RE: [PHP-DB] MySQL Error
| From: | Rich Gray | Date: | Tue, 28 Jan 2003 10:02:01 +0000 |
| Subject: | RE: [PHP-DB] MySQL Error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-25198@lists.php.net to get a copy of this message | ||
Hi Jordan
Made any recent changes to your network configuration? Can you access other
IP ports OK e.g. http port 80? Do you have any firewall protection on your
PC? Can you access MySQL from the command line OK?
Rich
-----Original Message-----
From: JordanW [mailto:jwooley@isvideo.net]
Sent: 28 January 2003 04:37
To: php-db@lists.php.net
Subject: [PHP-DB] MySQL Error
I'm getting this error message when I try the following code:
$link = mysql_connect("localhost")
or die("Could not connect");
print ("Connected successfully");
mysql_close($link);
The scripts outputs:
Warning: Can't create TCP/IP socket (10106) in
C:\Projects\WebServer\admin.php on line 3
Warning: MySQL Connection Failed: Can't create TCP/IP socket (10106) in
C:\Projects\WebServer\admin.php on line 3
Could not connect
Any ideas?
Thanks