Hello.
See:
http://dev.mysql.com/doc/mysql/en/can-not-connect-to-server.html
"Manish" <manish.popli@stripped> wrote:
> Hi,
> Platform is red hat linux-9..........
> my hardware is 2.8GHz pentium-4 with 512 GB ram..
> httpd-2.0.40-21........
> now problem is when i m trying to take back up of mysql by passing the
> command..
> /usr/local/mysql/bin/mysqldump bugs -uroot > /home/manish/bug_bkp.sql
> i got the error usr/local/mysql/bin/mysqldump: Got error: 2002: Can't
> connect to local MySQL server through socket '/tmp/mysql.sock' (2) when
> trying to
> connect.. ..........well i m able to start mysql server but can't able to
> take backup..
>
> plz help me out ....
>
> Manish Popli
>
>
>
>
>
> ---------------------------------------------------------------------------------
>
>
>
> Fiorano MailServer
> All incoming and outgoing mails are scanned for Virus and Spam
> http://www.fiorano.com
>
>
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Gleb Paharenko
/ /|_/ / // /\ \/ /_/ / /__ Gleb.Paharenko@stripped
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET
<___/ www.mysql.com