#!/bin/bash
function is_service(){
result=`service mysql status`
if [[ $result =~ "(dead)" ]];then
echo "[-] Mysql have not started"
exit
fi
}
function main(){
is_service
}
main
#!/bin/bash
function is_service(){
result=`service mysql status`
if [[ $result =~ "(dead)" ]];then
echo "[-] Mysql have not started"
exit
fi
}
function main(){
is_service
}
main
暂无评论
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-05-08
2024-05-08
2024-05-08
2024-05-04
2024-05-01
2024-05-01
2024-04-30
2024-04-28
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26
2024-04-26