最近需要排查数据库敏感信息,网上找了一些脚本和工具效果都不好,自己瞎写了一个,记录一下:#!/bin/bash # 忽略系统表 ignore_db="sys|information_schema|performance_schema|mysql" # 每张表取前N条数据 limit="50" # ex: search_info 192.168.1....
场景用工具连MySQL跑数据的时候发现挂掉了,查看发现磁盘写满了,磁盘扩容后,重启mysql发现起不来,查看日志2021-05-18T02:21:25.491074Z 0 [ERROR] /usr/sbin/mysqld: Table './mysql/user' is marked as crashed and should be repaired2021-05-18T02:21:25.4...