Check if mysql is started by entering
 ps -ax | grep -i mysql

If not started try:
 service mysql start

Adolfo

> -----Original Message-----
> From: Jeff Hollingshead [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, December 03, 2002 5:17 PM
> To: [EMAIL PROTECTED]
> Subject: mysql.sock error
> 
> 
> at first when trying to run mysql it did this:
> 
> [root@shadow mysql]# bin/safe_mysqld --user=mysql &
> [1] 3124
> [root@shadow mysql]# Starting mysqld daemon with databases 
> from /var/lib/mysql 021121 02:27:42  mysqld ended
> 
> 
> [1]+  Done                    bin/safe_mysqld --user=mysql
> 
> then, i stopped mysql and gave the command again and it 
> seemed to work: [root@shadow mysql]# bin/safe_mysqld 
> --user=mysql & [1] 5456 [root@shadow mysql]# Starting mysqld 
> daemon with databases from /var/lib/mysql
> 
> however, when trying to connect to mysql it does this still:
> 
> Enter password:
> /usr/local/mysql/bin/mysqladmin: connect to server at 
> 'localhost' failed
> error: 'Can't connect to local MySQL server through socket 
> '/tmp/mysql.sock' (2)' Check that mysqld is running and that 
> the socket: '/tmp/mysql.sock' exists!
> 
> any help appreciated
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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