echo '*** stop mysqld2 ' > /root/g21slist export PATH="/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/usr/bin/X11:/usr/X11R6/bin:/root/bin:/usr/sbin" cd /usr 2>>/root/g21slist >&2 ps -A | grep mysql 2>>/root/g21slist >&2 echo '*** stop mysql database server 2' 2>>/root/g21slist >&2 ./bin/mysqladmin --socket=/var/lib/mysql2/mysql.sock2 shutdown 2>>/root/g7nlist >&2 sleep 10 2>>/root/g21slist >&2 ps -A | grep mysql 2>>/root/g21slist >&2 cat /root/g21slist >> /root/createbuglist