can't connect through socket using PHP script

2001-07-27 Thread cjackson
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) What does this error mean? I am trying to authenticate from a php script using the following code... $db=mysql_pconnect(localhost,username,password); The user username is able to login to mysql ata command

Re: can't connect through socket using PHP script

2001-07-27 Thread Bryan Capitano
Usually this means your MySQL daemon, mysqld, is not started. Which OS are you using? Under RedHat Linux, you can get your mysqld running on init runlevels 3 and 5 (network services with and without X-windows) this way: % chkconfig --level 35 mysqld on % /etc/init.d/mysqld start check to make

Re: can't connect through socket using PHP script

2001-07-27 Thread Stefan Hinz
: cjackson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 26, 2001 10:29 PM Subject: can't connect through socket using PHP script Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) What does this error mean? I am trying to authenticate from a php

Re: can't connect through socket using PHP script

2001-07-27 Thread MikemickaloBlezien
On Fri, 27 Jul 2001 08:54:19 -0700 (PDT), Bryan Capitano [EMAIL PROTECTED] wrote: Usually this means your MySQL daemon, mysqld, is not started. Which OS are you using? Under RedHat Linux, you can get your mysqld running on init runlevels 3 and 5 (network services with and without X-windows)