#!/bin/bash

echo "2번기 MYSQL 종료"
ssh -p 10022 root@192.168.10.3 "pkill -9 -ef mysql && pkill -9 -ef maria && systemctl stop mysqld"

echo "3번기 MYSQL 종료"
ssh -p 10022 root@192.168.10.4 "pkill -9 -ef mysql && pkill -9 -ef maria && systemctl stop mysqld"

pkill -9 -ef mysql && pkill -9 -ef maria
systemctl stop mysqld
