RE: [PHP-DB] MySQL Error
| From: | Jeffrey_N_Dyke at Keane dot com | Date: | Wed, 29 Jan 2003 18:02:10 +0000 |
| Subject: | RE: [PHP-DB] MySQL Error | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25235@lists.php.net to get a copy of this message | ||
I would check the mysql is running. can you connect via telnet?
jeff
Matthew Moldvan
<mmoldvan@trilog To: 'JordanW'
<jwooley@isvideo.net>, php-db@lists.php.net
yintl.com> cc:
Subject: RE: [PHP-DB] MySQL Error
01/29/2003 12:50
PM
I would guess something is wrong with the services that are running on your
machine, maybe MySQL isn't on the same machine as your PHP? ... Also, are
you running this on a Windows machine or UNIX?
Matt.
-----Original Message-----
From: JordanW [mailto:jwooley@isvideo.net]
Sent: Monday, January 27, 2003 11:37 PM
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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php