Site icon Database Tutorials

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.

 

Loading

Exit mobile version