Last active
July 5, 2023 11:56
-
-
Save zaifastafa/79435a44930ed73b89535a294912386b to your computer and use it in GitHub Desktop.
For removing DEFINER clause from mysql dump
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sed -i 's/DEFINER=[^*]*\*/\*/g' filename.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment