This file contains hidden or 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
# Search through all databases, tables, and columns in a MySQL db. | |
# From http://kedar.nitty-witty.com/blog/search-through-all-databases-tables-columns-in-mysql | |
## Table for storing resultant output | |
CREATE TABLE `temp_details` ( | |
`t_schema` varchar(45) NOT NULL, | |
`t_table` varchar(45) NOT NULL, | |
`t_field` varchar(45) NOT NULL | |
) ENGINE=MyISAM DEFAULT CHARSET=latin1; |