# service mysql stop
Shutting down MySQL........ SUCCESS!
# ps auxww|grep mysql
root 22152 0.0 0.0 1780 500 pts/0 S+ 12:13 0:00 grep mysql
# chkconfig mysql off
# chkconfig --del mysql
# chkconfig --list mysql
service mysql supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add mysql')
# ls -la /etc/rc.d/init.d/mysql
-rwxr-xr-x 1 root root 12302 May 18 17:30 /etc/rc.d/init.d/mysql
# mv /etc/rc.d/init.d/mysql /etc/rc.d/init.d/mysql_old
# chmod 0 /etc/rc.d/init.d/mysql_old
# ls -la /etc/ld.so.conf.d/mysql-5.conf
-rw-r--r-- 1 root root 27 May 18 16:14 /etc/ld.so.conf.d/mysql-5.conf
# \rm /etc/ld.so.conf.d/mysql-5.conf
# \rm /var/lib/mysql/mysql/*
# \cp /etc/my.cnf_20110518 /etc/my.cnf
# \rm /usr/local/bin/mysql
# \rm /usr/local/bin/mysqladmin
# \rm -r /usr/local/mysql