shell脚本批量清理库下的大量日志历史表

#!/bin/bash dbip='192.168.1.1 dbuser='root dbpwds='111111 dbname='percona' # /home/tablename.txt 存放的是要删除的表名 一行一个表名 #另一种方式也能够 select table_name from information_schema.tables where table_schema='dbna
相关文章
相关标签/搜索