Hi,
You are "closer".This error is generated only if you wish to connect from
the localhost or 127.0.0.1 (i believe).To avoid this inconvenient, in
arguments of mysql client,you  must "put" -S
"path_of_the_mysql.socket".Usualy mysql create the socket file in tmp
directory.You can also, made some modification in my.cnf  file.

I.E.
mysql -u mysql(or root) -h localhost -S /tmp/mysql.sock

This work ONLY if the mysql daemon is started.
And if is not started you can "do": safe_mysqld.After this you can verify if
the mysql processess are "active" with ps -ax.

Good luck,
Gelu


----- Original Message -----
From: Egor Egorov <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 07, 2002 5:18 PM
Subject: Can not connect (again)


> Thursday, March 07, 2002, 4:49:57 PM, you wrote:
>
> d> Ok people, I'm desperate for the help.  I'm going to try to be as
detailed
> d> as possible, because I need the two year old explanation.  I recently
> d> installed MySQL on my Cobalt Raq3.  I was running fine, created a db,
table
> d> created a user, gave some permissions, and thought I was rolling along.
> d> Somewhere in setting the permissions and using safe_mysql I messed
something
> d> up.  I am now getting an Error 2002 can't connect to local Mysql
through
> d> socket var/lib/mysql/mysql.socket.  I don't know much about the socket
file,
> d> so if that has something to do with the problem, I'll need a brief
> d> explanation.  Can someone PLEASE HELP because I'm desperate to get this
> d> fixed yesterday.
>
> dlyles, as I answered you 2 days ago:
>
>      If your MySQL server is running then you should check location of
>      the socket file and check the socket path in your my.cnf file.
>
>      Check your privileges on the socket file and on the dir that
>      contains socket file.
>
>      You can find the description of this error at:
>             http://www.mysql.com/doc/C/a/Can_not_connect_to_server.html
>
> d> Thank you.
>
>
>
>
>
> --
> For technical support contracts, goto https://order.mysql.com/
> This email is sponsored by Ensita.net http://www.ensita.net/
>    __  ___     ___ ____  __
>   /  |/  /_ __/ __/ __ \/ /    Egor Egorov
>  / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
> /_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
>        <___/   www.mysql.com
>
>
>
> ---------------------------------------------------------------------
> 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 <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> 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 <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to