Skip to content

Instantly share code, notes, and snippets.

@nmnp
Created May 25, 2015 04:07
Show Gist options
  • Save nmnp/c90c007b93716759a5e3 to your computer and use it in GitHub Desktop.
Save nmnp/c90c007b93716759a5e3 to your computer and use it in GitHub Desktop.
mysql definer selector regex
find => DEFINER=`(.*?)`@`(.*?)`
replaceWith => DEFINER=`root`@`localhost`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment