ed as play."
- Plato (427 - 347 BC)
- Original Message -
From: "Erik Price" <[EMAIL PROTECTED]>
To: "Andrew Rich" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, April 25, 2002 10:01 PM
Subject: Re: Can't connect to local MySQL ser
On Thursday, April 25, 2002, at 04:17 PM, Andrew Rich wrote:
>
> Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
>
>
> Any ideas ?
You might need to specify the path to your socket file when you start
MySQL... did you specify a specific socket location at compile time
George Pitcher ([EMAIL PROTECTED]) writes:
> Similar for me. Except that I can do all the usual SQL stuff as root but if
> I try and access via PHP I get the '/tmp/mysql.sock' missing message.
>
> Is a complete re-install of MySQL the only solution or is there something
> else that can be done t
Similar for me. Except that I can do all the usual SQL stuff as root but if
I try and access via PHP I get the '/tmp/mysql.sock' missing message.
Is a complete re-install of MySQL the only solution or is there something
else that can be done to solve this problem, which, from scanning archives,
i
Thank you for all your suggestions,
I got it.
the problem was in our web server because of security $ENV{HOME} doesnt
point to my home directory so my .my.cnf file was unreachable.
That's it.
may be It can be helpful for other people as well.
> my %attr = (
> PrintError =>0,
> Rai
I don't know for sure... perhaps, the apache+php binary just treats it
differently than when interacting with it directly from the shell...
I am a newbie and I just had the same problem 2 minutes ago...
hope it works out...
thanks,
shawn
On Tue, 29 May 2001, Mohammad Shoja wrote:
> Thanks for
Thanks for your reply
The question is why in command line there is no problem?
> It is looking for /tmp/mysql.sock and the one that exists is
> /tmp/mysql.sock.shoja
>
> Two different files.. It can't find what it is looking for. Try:
>
> safe_mysqld --socket=/tmp/mysql.sock
>
> and it should
>
> [client]
> port=3309
> socket=/tmp/mysql.sock.shoja
>
> Now the problem is when I'm trying to run my cgi from command prompt there
> is no error and it connect successfully.
>
> But when I'm trying to run it through web browser I get this error
> message:
>
> Can't connect to local MySQL serve