Bash Script for Mysql General Log Rotation

 

Below is the simple script for monitoring & auditing mysql general logs.This can be set as per the need(eg. daily,horly).It will help in capturing both DDL & DML Operations on database.

 

Anil Joshi
Author: Anil Joshi

Leave a Reply

Your email address will not be published. Required fields are marked *