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

2002-06-22 Thread Marco Lanini

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.
Aaron T. Weiker [EMAIL PROTECTED] ha scritto nel messaggio
[EMAIL PROTECTED]">news:[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
 To: [EMAIL 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.

 ?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 [EMAIL PROTECTED] ha scritto nel messaggio
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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]]
   Sent: Friday, June 21, 2002 11:20 AM
   To: [EMAIL PROTECTED]
   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





-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




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

2002-06-22 Thread Aaron T. Weiker

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'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.
Aaron T. Weiker [EMAIL PROTECTED] ha scritto nel messaggio
[EMAIL PROTECTED]">news:[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
 To: [EMAIL 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.

 ?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 [EMAIL PROTECTED] ha scritto nel messaggio
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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]]
   Sent: Friday, June 21, 2002 11:20 AM
   To: [EMAIL PROTECTED]
   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





-- 
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




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

2002-06-22 Thread Marco Lanini

yes,
i have 3 pc into my small lan, one of this have IIS 5 installed, and i want
to work with another web server (free). but a little script who connect with
my Mysql server on this pc goes ok. it connect itself to mysql server.
but in localhost i can't connect.

thanks.
(sorry for my english, i'm Italian) :\


Aaron T. Weiker [EMAIL PROTECTED] ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
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'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.
Aaron T. Weiker [EMAIL PROTECTED] ha scritto nel messaggio
[EMAIL PROTECTED]">news:[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
 To: [EMAIL 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.

 ?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 [EMAIL PROTECTED] ha scritto nel messaggio
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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]]
   Sent: Friday, June 21, 2002 11:20 AM
   To: [EMAIL PROTECTED]
   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





--
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




[PHP-DB] MYSQL Socket error :\

2002-06-21 Thread Marco Lanini

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




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

2002-06-21 Thread Dan Harrington

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]]
 Sent: Friday, June 21, 2002 11:20 AM
 To: [EMAIL PROTECTED]
 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




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

2002-06-21 Thread Marco Lanini

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 [EMAIL PROTECTED] ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
 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]]
  Sent: Friday, June 21, 2002 11:20 AM
  To: [EMAIL PROTECTED]
  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




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

2002-06-21 Thread Aaron T. Weiker

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
 To: [EMAIL 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.
 
 ?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 [EMAIL PROTECTED] ha scritto nel messaggio 
 [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
  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]]
   Sent: Friday, June 21, 2002 11:20 AM
   To: [EMAIL PROTECTED]
   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
 
 

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP-DB] MySQL socket error

2001-11-30 Thread Dobromir Velev

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 Velev
Web Developer
http://www.websitepulse.com/

-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
To: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Thursday, November 29, 2001 23:48
Subject: [PHP-DB] MySQL socket error


Hi
I'm having a really big problem at the moment (or at least my server provider
is and it's gettting abit tiresome!)

I've been using PHP/MySQL combo for a looong time, and never come across this
error before, and I don't know exactly what is causing it.
There's a new installation of php4.04 pl and MySQL 3-23-39 on red hat, but
when I try and run my usual php_connect I get the following error: -

Warning: MySQL Connection Failed: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2) in testfile.php on line 2


Anyone have any ideas what is causing this (or more to the point how to fix
it - is it a configuration file issue, and if so which one?)

Thanks

Tom

--part1_44.171de6dc.293805d8_boundary
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi

I'm having a really big problem at the moment (or at least my server provider
is and it's gettting abit tiresome!)



I've been using PHP/MySQL combo for a looong time, and never come across this
error before, and I don't know exactly what is causing it.

There's a new installation of php4.04 pl and MySQL 3-23-39 on red hat, but
when I try and run my usual php_connect I get the following error: -

Warning: MySQL Connection Failed: Can't connect to local MySQL server through
socket '/tmp/mysql.sock' (2) in testfile.php on line 2


Anyone have any ideas what is causing this (or more to the point how to fix
it - is it a configuration file issue, and if so which one?)

Thanks

Tom
(If you reply to me direct, please use [EMAIL PROTECTED]
, not the borrowed AOL address that this has just been sent from!)




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] MySQL socket error

2001-11-29 Thread Tmcomp69

Hi
I'm having a really big problem at the moment (or at least my server provider 
is and it's gettting abit tiresome!)

I've been using PHP/MySQL combo for a looong time, and never come across this 
error before, and I don't know exactly what is causing it.
There's a new installation of php4.04 pl and MySQL 3-23-39 on red hat, but 
when I try and run my usual php_connect I get the following error: -

Warning: MySQL Connection Failed: Can't connect to local MySQL server through 
socket '/tmp/mysql.sock' (2) in testfile.php on line 2


Anyone have any ideas what is causing this (or more to the point how to fix 
it - is it a configuration file issue, and if so which one?)

Thanks

Tom

--part1_44.171de6dc.293805d8_boundary
Content-Type: text/html; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi

I'm having a really big problem at the moment (or at least my server provider 
is and it's gettting abit tiresome!)



I've been using PHP/MySQL combo for a looong time, and never come across this 
error before, and I don't know exactly what is causing it.

There's a new installation of php4.04 pl and MySQL 3-23-39 on red hat, but 
when I try and run my usual php_connect I get the following error: -

Warning: MySQL Connection Failed: Can't connect to local MySQL server through 
socket '/tmp/mysql.sock' (2) in testfile.php on line 2


Anyone have any ideas what is causing this (or more to the point how to fix 
it - is it a configuration file issue, and if so which one?)

Thanks

Tom
(If you reply to me direct, please use [EMAIL PROTECTED]
, not the borrowed AOL address that this has just been sent from!)