#!/bin/shMYSQL_PW=mysqlpasslogdir=/root/mysql-loglogfile=$logdir/thread.logTHR_MAX=50[ ! -d $logd...