Re: Mysql socket error :\
| From: | Peter | Date: | Sat, 22 Jun 2002 21:23:07 +0000 |
| Subject: | Re: Mysql socket error :\ | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-14346@lists.php.net to get a copy of this message | ||
is mysql running on port 10106? I run mine on the default port but I don't
think it was that one!
Have a look in the configuration files.
"Marco Lanini" <marco.lanini@flashinlabs.com> wrote in message
news:20020622145204.78216.qmail@pb1.pair.com...
> Hi,
> i have a little big problem with my configuration.
>
> I have:
> Windows XP Home
> Mysql 4.0.1 alpha
> Php 4.1.2
> Abyss Web Server (Freeware) www.apelium.com
>
> the problem is:
>
> when my script goes to connect with mysql
>
> Warning: Can't create TCP/IP socket (10106) in provamysql.php on line 3
>
> Warning: MySQL Connection Failed: Can't create TCP/IP socket (10106) in
> provamysql.php on line 3
> Can't create TCP/IP socket (10106)
>
> the code of my simple script is
>
> <?php
>
> mysql_connect("127.0.0.1","root","admin") or die(mysql_error());
> print("connected!!!");
>
> ?>
>
> i have make a lot of tests...
>
> 127.0.0.1
> localhost
> webserver (network pc name)
>
> thanks to all.
>
> PS: sorry for my english, but i'm italian.
>
>