!/bin/bash user=rootport=3306CmdPath=/opt/mysql/binpassword=xxxxxxxxxx base_dir=/opt/mysqlinst_dir=/data/3306alive="00"sMysqld=0sMysqldSafe=0fSock=0fPID=0 check_alive(){echo "running...