https://github.com/staabm/anywhereindb
Needle in a Haystack: Comprehensive Search on MYSQL Database
https://github.com/staabm/anywhereindb
Last synced: 11 months ago
JSON representation
Needle in a Haystack: Comprehensive Search on MYSQL Database
- Host: GitHub
- URL: https://github.com/staabm/anywhereindb
- Owner: staabm
- Created: 2018-04-11T08:18:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2020-08-29T06:41:38.000Z (almost 6 years ago)
- Last Synced: 2025-03-05T11:39:12.544Z (over 1 year ago)
- Language: PHP
- Size: 34.2 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
This Project is based on the sourcecode from https://code.google.com/archive/p/anywhereindb/
initially developed by Nafis Ahmad, https://plus.google.com/+NafisAhmad56
Needle in a Haystack
Comprehensive Search on MYSQL Database.
select * from anywhereindb where anyfield like %search_text%
Sometime we need to find out a small piece of string in big Database. Like where is the configuration is saved, or where is Jon's Date of birth is saved. This code is search all the tables and all the rows and columns in a MYSQL Database. The code is written in PHP. For faster result, we are only searching in the varchar field. (if anyone needs to search in other field, he can just comment the varchar selecting part.)
This code is written to help out the web developers as tool.
How To
Install 1. Download the anywhereindb.php 1. Drop it in your htdocs or www folder, and run it in your browser 1. Give your Database connection information 1. It's ready for work, search any string
Working
Collapse All Result
This will hide all the search result, and show how many results are there in each table
Expand All Result
This will show all the search result.
SQL
This is will show/hide SQL query for the particular tables result.
Result
This is will show/hide the particular tables result.
Helpful for whom
searching a data in the database
understanding a new system
quickly find out a setting string in the database