shell编程系列22--shell操作数据库实战之shell脚本与MySQL数据库交互(增删改查)Shell脚本与MySQL数据库交互(增删改查)# 环境准备:安装mariadb 数据库 [rootlocalhost shell]# yum install mariadb mariadb-server mariadb-libs -y [rootlocalhost shell]# systemctl start mariadb [rootlocalhost shell]# netstat -tnlp |grep :3306 tcp 0 0 0.0.……