ps -wef | grep mysqld should show if the daemon is actually running or not. Check to make sure. Then, ls /tmp/mysql.sock will show you if the mysql file was created or not.
Bhavin. ----- Original Message ----- From: "Jeff Hollingshead" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 03, 2002 4:16 PM 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