List:General Discussion« Previous MessageNext Message »
From:Martin Cameron Date:July 16 2001 5:24am
Subject:Re: I am facing this error [ Urgent ]
View as plain text  
Have you checked that you've got a musql server running. (ps ax|grep mysqld)

On Fri, 13 Jul 2001 05:51, you wrote:
> Thanks for your replies
> but my problem is still there
> this is the php code iam using for connecting to Database:
>
>  $ss_conn  = mysql_connect($db_host,$db_usr,$db_pwd);
>
> and hosting infos are:
> Red hat linux
> mysql-3.23
> php 4
>
> >  From the error message, I'd guess you are using RedHat distribution.  If
> > not, ignore this.
> >
> > You must make sure that the directory /var/lib/mysql is owned by mysql
> > and not root, so that mysql can write to it.
> >
> > Also see all the added comments in the relevant subsections of the online
> > manual (link is added to all posts at the end).  They are constantly
> > being added to.
> >
> > Hope this helps.
> >
> > Edna
> >
> > At 19:12 11/07/01 -0700, you wrote:
> > >What to do do
> > >I am facing this error !!
> > >
> > >Warning:  Can't connect to local MySQL server through socket
> > >'/tmp/mysql.sock' (2) in
> > >/web/sites/188/pisps/www.pisps.f2s.com/signup/index.php on line 372
> > >
> > >Warning:  MySQL Connection Failed: Can't connect to local MySQL server
> > >through socket '/tmp/mysql.sock' (2)
> > >
> > >
> > >---------------------------------------------------------------------
> > >Before posting, please check:
> > >    http://www.mysql.com/manual.php   (the manual)
> > >    http://lists.mysql.com/           (the list archive)
> > >
> > >To request this thread, e-mail <mysql-thread79603@stripped>
> > >To unsubscribe, e-mail
> > > <mysql-unsubscribe-edna=netcomuk.co.uk@stripped> Trouble
> > > unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <mysql-thread79689@stripped>
> To unsubscribe, e-mail
> <mysql-unsubscribe-cameron=cameron.co.nz@stripped> Trouble
> unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php
Thread
I am facing this error [ Urgent ]Syed Sumair15 Jul
  • RE: I am facing this error [ Urgent ](Dipl.-Inf. Guus Leeuw jr.)15 Jul
Re: I am facing this error [ Urgent ]Syed Sumair16 Jul
  • Re: I am facing this error [ Urgent ]Martin Cameron16 Jul
Re: I am facing this error [ Urgent ]Rolf Hopkins16 Jul