Script to Clean Mysql Definers

Keeping Some Definers

I have to constantly move MySQL dumps between environments for testing, and sometimes there are definers with users not present in the new environment. This script takes either a .sql or .sql.gz database dump and change the definers to match your local users. [Read More]
Tags: bash