Red Hat Bugzilla – Bug 36919
mysql daemon won't start
Last modified: 2007-04-18 12:32:45 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2smp i686)
When I try to run the command 'safe_mysqld' in my system, it terminates and
the daemon does not get to start.
Steps to Reproduce:
1.Type in the command prompt: safe_mysqld &
Actual Results: Starting mysqld daemon with databases from /var/lib/mysql
010420 18:46:53 mysqld ended
Expected Results: I expect to get the mysqld up and running
"/etc/init.d/mysqld start" or "service mysqld start"
after I execute the command: "/etc/init.d/mysqld start"
I get the following message:
Starting MySQL: [ OK ]
if I try to test if the daemon is running, I type the following command:
"ps -aux | grep mysql"
I get the following response:
root 2515 0.0 0.0 1620 600 pts/4 S 19:30 0:00 grep mysql
Also if I try to execute: "mysqladmin -u root -p password 'new-password'"
I get the following output:
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock'
This does not occur in a fresh, non-configured install, so it's likely you've
done some misconfiguration.
Move your configuration files out of the way, and if this doesn't work, move
your databases (make sure /var/lib/mysql/ is empty) and start again. Then work
your way up until you see what's not working.