Skip to content

Search&replace all tables of the database for occurrences, like grep but for database

Notifications You must be signed in to change notification settings

caseycs/mysql-grep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

mysql grep

Search&replace all tables of the database for occurrences, like grep but for database

Usage example:

Dry run:

php dbgrep.php --username=root --password=banaan123 --database=project --search=wiredstuff

Replace:

php dbgrep.php --username=root --password=banaan123 --search=wiredstuff --database=project  --replace=coolstuff

According to columns collation search maybe case-insensetive, BUT replace is every time case-sensetime.

About

Search&replace all tables of the database for occurrences, like grep but for database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages