Today I faced issue again with MySQL running of NFS .I was trying to shutwon mysql
using /etc/rc.d/init.d/mysql stop
MySQL shutdown was successful .
after making changes in my.cnf file I tried to start MySQL using
/usr/bin/mysqld_safe –defaults-file=/etc/my.cnf &
I got error
mysqld_safe A mysqld process already exists
I checked that no other instance is running using
ps aux| grep MySQL
I got no MySQL process running, as I have faced so many errors because of the NFS
locking the files mentioned in my previous posts
I tried the same solution again
1) /etc/init.d/portmap restart
2) /etc/init.d/nfslock restart
And it worked. I was able to start MySQL after that successfully.