I'm running RedHat 7.1 and I'm trying to run mysql.  I've gone and run the
mysql_install_db then I try to run the mysqladmin -u root -p password
'new-password' and I get the following error:

error: 'Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket:
'/var/lib/mysql/mysql.sock' exists!

When I get this error I go to /etc/rc.d/init.d/ and run the mysqld start
command and it says it started but when I check to see if it has in top it's
not listed and not started.  Also, when I go and run the mysqld stop command
it fails becuase it was never started.  I've also tried to run
/usr/bin/safe_mysqld --usr=mysql & and I get the following:

Starting mysqld daemon with databases from /var/lib/mysql
020115 03:28:24  mysqld ended
[1]+  Done                    ./safe_mysqld --user=mysql

That doesn't work.  I've looked in the /var/lib/mysql/ directory for an
error log and there is none.  Just a mysql and test directory.  I'm at a
lost here and don't know what to do.

Thanks for any help!


---------------------------------------------------------------------
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