闲者博客 - 宝塔计划任务定时检测mysql崩溃自我恢复 的评论 https://bk1314.com/21.html #!/bin/bashcount=0#尝试循环10次后退出while [ $count -lt 10 ]dopgrep -x mysqld >/dev/nullif [ $? -ne 0 ...