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

2002-06-22 Thread Marco Lanini
neficial 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-D

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

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

2002-06-22 Thread Marco Lanini
, 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 m

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

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

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

2002-06-21 Thread Aaron T. Weiker
] 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

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