3 # /etc/rc.d/mysqld: start/stop mysqld daemon
8 MYSQL_PID
=`sed -n 's/^pid-file[ \t]*=[ \t]*//p' $MYSQL_CFG`
9 MYSQL_USR
=`sed -n 's/^user[ \t]*=[ \t]*//p' $MYSQL_CFG`
14 chown
$MYSQL_USR $MYSQL_PID
18 killall
-q /usr
/sbin
/mysqld
27 echo "usage: $0 [start|stop|restart]"