sudo iptables -A INPUT -i lo -p tcp --dport 3306 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 3306 -j DROP
sudo iptables -A INPUT -i lo -p tcp --dport 3306 -j ACCEPT
sudo iptables -A INPUT -p tcp --dport 3306 -j DROP
grep "sshd.*Accepted" /var/log/auth.log | awk '{print $11}' | sort | uniq
grep "sshd.*Accepted" /var/log/secure | awk '{print $11}' | sort | uniq
}
https://www.digitalocean.com/community/tutorials/how-to-create-hot-backups-of-mysql-databases-with-percona-xtrabackup-on-centos-7
https://www.percona.com/blog/2020/04/10/percona-xtrabackup-backup-and-restore-of-a-single-table-or-database/
show variables like "%max_connections%";show global status like "%Max_used%";show status like "%thread%";