Cannot get Mysql work on Redhat Enterprise 4
Posted on 2006-04-21
I am running Rehdat enterprise 4 linux and Mysql MySQL-server5.0.19-0
i get the following with
# mysqladmin ping
mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!
and when try to start the mysql server
# /etc/init.d/mysql restart
MySQL manager or server PID file could not be found! [FAILED]
Starting MySQLCouldn't find MySQL manager or server [FAILED]
it looks like mysql is not running on my server
# ps -ef | grep mysql
root 4177 3931 0 16:21 pts/1 00:00:00 grep mysql
/var/lib/mysql/mysql.sock actually does not exists on my system.
i would appreciate any help on this issue