ED]]
Sent: Saturday, June 22, 2002 8:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] MYSQL Socket error :\
PHP Warning: MySQL Connection Failed: Can't create TCP/IP socket
(10106)
in c:\flashinlabs\web\http\provamysql.php on line 3
this is the LOG error.
i'm into panic.
"Aa
Are you able to connect to the MySQL server using a client?
Aaron Weiker
-Original Message-
From: Marco Lanini [mailto:[EMAIL PROTECTED]]
Sent: Saturday, June 22, 2002 8:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] MYSQL Socket error :\
PHP Warning: MySQL Connection Failed: Can
:[EMAIL PROTECTED]...
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:[EMAIL PROTECTED]]
> Sent: Saturday, June 22, 2002 1:10 AM
>
IL PROTECTED]
> 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.
>
>
> mysql_connect("127.0.0.1","root","admin")
Thanks Dan, but i have already tested this solution...
i have build a very little test script, who generate this error.
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
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:[EMAIL PROTECTED]]
> Se
Hi,
Check if your MySQL server is working properly - this error usually appears when the
MySQL server is down.
The other thing is to check whether the socket the MySQL server uses is
/tmp/mysql.sock and if it is not modify the php
configuration variable MYSQL_SOCKET
Hope this helps
Dobromir Ve