RE: [PHP-DB] MYSQL Socket error :\

From: Date: Sat, 22 Jun 2002 05:45:28 +0000
Subject: RE: [PHP-DB] MYSQL Socket error :\
Groups: php.db 
Request: Send a blank email to php-db+get-19995@lists.php.net to get a copy of this message
It may prove beneficial to check the event log. More clues may lie in there. If the webserver has any type of error log check that as well. Aaron Weiker > -----Original Message----- > From: Marco Lanini [mailto:marco.lanini@flashinlabs.com] > Sent: Saturday, June 22, 2002 1:10 AM > To: php-db@lists.php.net > Subject: Re: [PHP-DB] MYSQL Socket error :\ > > > Thanks Dan, but i have already tested this solution... > > i have build a very little test script, who generate this error. > > <?php > > mysql_connect("127.0.0.1","root","admin") or > die(mysql_error()); print("connected!!!"); > > ?> > > i am in localhost and i use very simple "root" "admin" login > but the message is always the same! > > Can't create TCP/IP socket (10106) > > i think, probably is an error in php.ini configuration, but > what error??? > > thanks to all. > > > "Dan Harrington" <dan@tudan.net> ha scritto nel messaggio > news:PPEEKJBNGLCGILHOJMMOMECBLOAA.dan@tudan.net... > > I'm no expert on XP, but you may want to check > > the firewall settings, to make sure that windows XP > > isn't preventing the connection. > > > > For the $host, you may want to either use > > 'localhost' or 127.0.0.1 > > > > Cheers, > > Dan > > > > > > > -----Original Message----- > > > From: Marco Lanini [mailto:marco.lanini@flashinlabs.com] > > > Sent: Friday, June 21, 2002 11:20 AM > > > To: php-db@lists.php.net > > > Subject: [PHP-DB] MYSQL Socket error :\ > > > > > > > > > Hi > > > > > > sorry for my english but i'm italian. > > > > > > I have a server who run with > > > > > > WIN XP HOME > > > Abyss Web Server (Freeware) www.aprelium.com > > > MySql 4.0.1-alpha-nt > > > PHP 4.2.1 > > > > > > when i use mysql_connect($host,$user,$pass) or die(mysql_error()); > function > > > > > > he write: > > > > > > Can't create TCP/IP socket (10106) > > > > > > i have searched explanations on the internet but unfotunately i > > > haven't > find > > > out nothing. > > > > > > thanks for your help. > > > > > > > > > > > > > > > -- > > > 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 > >

« previous php.db (#19995) next »