[QUOTE=arashi256;4003882]Okay, my mistake - it's definitely
I've put the "restart" in in case your service is already started. If it can't stop to restart, it'll simply start. You might want to do
yum groupinstall "MySQL"
because you've not installed the client package anyway so won't be able to test your local server connection.
You might also do a
ps -elf | grep mysql*
To see if a MySQL daemon is already running.
the mysqld init file contains some variables that says where to search for the mysqld daemon.
Like i said before...there are many ways of solving.
But the simplest in your case could well be to remove the mysql-server package with yum.
Then reinstall mysql-server.
I had an error like this when i installed from source because the rpm version was still installed.
This was when i was trying to test mysqlslap stresstesting.
I fixed this by just creating a symlink to where the mysqld init file was looking for mysql.