Hi,

Are you sure that the MySQL server is running?

If so, maybe look for the mysql.sock file (find / -name "mysql.sock")

./mysql -u <username> -p --socket=/location/of/socket.sock

Steve

On Mon, Feb 25, 2002 at 04:38:59PM +0000, Ricardo Javier Aranibar Le?n wrote:
> 
> 
> I have a problem, when I try to connect to the Data Base
> 
> [root@hvserver_tja bin]# mysql
> bash: mysql:command not found
> [root@hvserver_tja bin]# ./mysql
> ERROR 2002: Can't connect to local MySQL server through '/tmp/mysql.sock' 
> (2)
> [root@hvserver_tja bin]# ./mysql -h hvserver_tja -u -p
> Enter password:ricardo
> ERROR 2003:Can't connect to MySQL server on 'hvserver_tja' (111)
> 
> 
> please if somebody can help me, I hope your e-mail
> 
> _________________________________________________________________
> MSN Photos es la manera m?s sencilla de compartir, editar e imprimir sus 
> fotos favoritas. http://photos.latam.msn.com/Support/WorldWide.aspx
> 
> 
> ---------------------------------------------------------------------
> 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