{"id":38,"date":"2009-10-29T08:04:35","date_gmt":"2009-10-29T08:04:35","guid":{"rendered":"http:\/\/kedar.nitty-witty.com\/?p=38"},"modified":"2026-02-23T11:17:13","modified_gmt":"2026-02-23T11:17:13","slug":"search-through-all-databases-tables-columns-in-mysql","status":"publish","type":"post","link":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql","title":{"rendered":"how to search \/ find through all databases, tables, columns in MySQL"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">What will you do if one day some one ask you to find single string in all&nbsp;databases, all tables&nbsp;and in all&nbsp;columns, In MySQL Database? This article presents a practical solution to search across all your MySQL databases, tables, and columns using stored procedures, making the process re-usable and straightforward.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I prepared the dynamic stored procedure to perform the whole MySQL database search.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full is-resized\"><img decoding=\"async\" width=\"968\" height=\"1014\" src=\"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2023\/08\/image-1.png\" alt=\"\" class=\"wp-image-3011\" style=\"width:258px;height:269px\" srcset=\"https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2023\/08\/image-1.png 968w, https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2023\/08\/image-1-286x300.png 286w, https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2023\/08\/image-1-768x804.png 768w, https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2023\/08\/image-1-390x409.png 390w, https:\/\/kedar.nitty-witty.com\/blog\/wp-content\/uploads\/2023\/08\/image-1-820x859.png 820w\" sizes=\"(max-width: 968px) 100vw, 968px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">Step-by-Step Guide to perform MySQL database search<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here is the idea for how to&nbsp;search through all&nbsp;databases&nbsp;&#8211;&nbsp;tables&nbsp;&#8211;&nbsp;columns:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Create a table for storing output.<\/li>\n\n\n\n<li>Loop through information_schema database&#8217;s&nbsp;COLUMNS&nbsp;table to obtain alldatabases, table and column names.<\/li>\n\n\n\n<li>Execute a count(*) query on database.table for each column with appropriate search string in where condition.<\/li>\n\n\n\n<li>If count(*) &gt; 0, that perticular column has&nbsp;the search&nbsp;term.<\/li>\n\n\n\n<li>Insert that triplet (database name, table name, column name) in to a table.<\/li>\n\n\n\n<li>Select * from table to view respective database,table and column names having&nbsp;the search&nbsp;term.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL database search &#8211; all columns, tables and databases.<\/h2>\n\n\n\n<!--more-->\n\n\n\n<p class=\"wp-block-paragraph\">Below is a MySQL database search stored procedure that enables searching through all fields of all databases:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>## Procedure for search in all fields of all databases\nDELIMITER $$\n\n#Script to loop through all tables using Information_Schema\nDROP PROCEDURE IF EXISTS get_table $$\nCREATE PROCEDURE get_table(in_search varchar(50))\nREADS SQL DATA\nBEGIN\n\nDECLARE trunc_cmd VARCHAR(50);\nDECLARE search_string VARCHAR(250);\nDECLARE db,tbl,clmn CHAR(250);\nDECLARE done INT DEFAULT 0;\nDECLARE COUNTER INT;\nDECLARE table_cur CURSOR FOR\nSELECT concat('SELECT COUNT(*) INTO @CNT_VALUE FROM `',table_schema,'`.`',table_name,'` WHERE `', column_name,'` REGEXP \"',in_search,'\"') ,table_schema,table_name,column_name FROM information_schema.COLUMNS WHERE TABLE_SCHEMA NOT IN ('mysql','information_schema', 'performance_schema', 'sys');\n\nDECLARE CONTINUE HANDLER FOR NOT FOUND SET done=1;\n\n#Drop and recreate table for storing the data for new search.\nPREPARE trunc_cmd FROM \"DROP TABLE IF EXISTS temp_details;\";\nEXECUTE trunc_cmd ;\n\nCREATE TEMPORARY TABLE temp_details (\ndb varchar(250),\ntbl varchar(250),\nclmn varchar(250)\n);\n\n\nOPEN table_cur;\n\ntable_loop:LOOP\nFETCH table_cur INTO search_string,db,tbl,clmn;\n#Executing the search\nSET @search_string = search_string;\n#SELECT  search_string;\nPREPARE search_string FROM @search_string;\nEXECUTE search_string;\nSET COUNTER = @CNT_VALUE;\n#SELECT COUNTER;\nIF COUNTER&gt;0 THEN\n# Inserting required results from search to table\nSET SESSION SQL_MODE='';\nINSERT INTO temp_details (db,tbl,clmn) VALUES(db,tbl,clmn);\nEND IF;\nIF done=1 THEN\nLEAVE table_loop;\n\nEND IF;\nEND LOOP;\nCLOSE table_cur;\n\n#Finally Show Results\nSELECT  * FROM temp_details;\nEND $$\nDELIMITER ;\n\n\n\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">No wonder you will find the variable naming has not been taken care of; but its forgivable!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong><a href=\"https:\/\/github.com\/kedarvj\/MySQL\/blob\/master\/find-in-all-databases-tables.sql\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">Download the code here: find in all databases-tables.sql<\/a><\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Well this thing worked for me in 5.0.83-community-nt-log on windows machine. This MySQL database search procedure is also been tested against MySQL 8. I dropped idea of creating temporary table through procedure to store and display results considering a&nbsp;<a href=\"http:\/\/bugs.mysql.com\/bug.php?id=1863\" target=\"_blank\" rel=\"noopener nofollow\" title=\"\">bug<\/a> and deciding to adopt the easy way out though its very old.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Searching for a specific string across numerous databases, tables, and columns in MySQL can be a complex task. However, by implementing the provided stored procedure, you can efficiently and comprehensively perfom MySQL database search. This approach enhances reusability, saves time, and ensures accurate results, making it an invaluable tool for database administrators and developers.<\/p>\n","protected":false},"excerpt":{"rendered":"What will you do if one day some one ask you to find single string in all&nbsp;databases, all tables&nbsp;and in all&nbsp;columns, In MySQL Database? This article presents a practical solution&hellip;\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[8,378],"tags":[305,190,427,672,674,189,108,426],"class_list":["post-38","post","type-post","status-publish","format-standard","category-mysql","category-mysql-scripts-mysql","tag-all-table-all-columns","tag-find-in-tables","tag-mysql","tag-mysql-database-search","tag-search-all-tables-columns-databases","tag-search-in-all-databases","tag-stored-procedure","tag-technical"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Kedar\"\/>\n\t<meta name=\"google-site-verification\" content=\"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA\" \/>\n\t<meta name=\"msvalidate.01\" content=\"116B62074CBCA1BA99B8CCE09CCF2FB8\" \/>\n\t<meta name=\"keywords\" content=\"mysql stored procedure,search in all databases,search procedure,all tables,all table all columns,find in tables,mysql,mysql database search,search all tables columns databases,stored procedure,technical\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Change Is Inevitable | Kedar Vaijanapurkar&#039;s Blog for MySQL, technology and various subjects\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Search through all databases, tables, columns in MySQL | Change Is Inevitable\" \/>\n\t\t<meta property=\"og:description\" content=\"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2009-10-29T08:04:35+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-02-23T11:17:13+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Search through all databases, tables, columns in MySQL | Change Is Inevitable\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#article\",\"name\":\"Search through all databases, tables, columns in MySQL | Change Is Inevitable\",\"headline\":\"how to search \\\/ find through all databases, tables, columns in MySQL\",\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"http:\\\/\\\/kedar.nitty-witty.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/image-1.png\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql\\\/#articleImage\"},\"datePublished\":\"2009-10-29T08:04:35+00:00\",\"dateModified\":\"2026-02-23T11:17:13+00:00\",\"inLanguage\":\"en-US\",\"commentCount\":14,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#webpage\"},\"articleSection\":\"MySQL, MySQL-Scripts, all table all columns, find in tables, MySQL, MySQL Database Search, Search all tables columns databases, Search in all databases, stored procedure, Technical\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"position\":2,\"name\":\"MySQL\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-scripts-mysql#listItem\",\"name\":\"MySQL-Scripts\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-scripts-mysql#listItem\",\"position\":3,\"name\":\"MySQL-Scripts\",\"item\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-scripts-mysql\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#listItem\",\"name\":\"how to search \\\/ find through all databases, tables, columns in MySQL\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql#listItem\",\"name\":\"MySQL\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#listItem\",\"position\":4,\"name\":\"how to search \\\/ find through all databases, tables, columns in MySQL\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/category\\\/mysql\\\/mysql-scripts-mysql#listItem\",\"name\":\"MySQL-Scripts\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin\",\"name\":\"Kedar\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Kedar\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#webpage\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql\",\"name\":\"Search through all databases, tables, columns in MySQL | Change Is Inevitable\",\"description\":\"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/search-through-all-databases-tables-columns-in-mysql#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/author\\\/admin#author\"},\"datePublished\":\"2009-10-29T08:04:35+00:00\",\"dateModified\":\"2026-02-23T11:17:13+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/\",\"name\":\"..::CHANGE is INEVITABLE::..\",\"description\":\"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/kedar.nitty-witty.com\\\/blog\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Search through all databases, tables, columns in MySQL | Change Is Inevitable","description":"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.","canonical_url":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql","robots":"max-image-preview:large","keywords":"mysql stored procedure,search in all databases,search procedure,all tables,all table all columns,find in tables,mysql,mysql database search,search all tables columns databases,stored procedure,technical","webmasterTools":{"google-site-verification":"_Bu1h5r0PxIC0D2jBVdmYN45RTeG9ogcX85XLkbG1qA","msvalidate.01":"116B62074CBCA1BA99B8CCE09CCF2FB8","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#article","name":"Search through all databases, tables, columns in MySQL | Change Is Inevitable","headline":"how to search \/ find through all databases, tables, columns in MySQL","author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"},"image":{"@type":"ImageObject","url":"http:\/\/kedar.nitty-witty.com\/wp-content\/uploads\/2023\/08\/image-1.png","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql\/#articleImage"},"datePublished":"2009-10-29T08:04:35+00:00","dateModified":"2026-02-23T11:17:13+00:00","inLanguage":"en-US","commentCount":14,"mainEntityOfPage":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#webpage"},"isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#webpage"},"articleSection":"MySQL, MySQL-Scripts, all table all columns, find in tables, MySQL, MySQL Database Search, Search all tables columns databases, Search in all databases, stored procedure, Technical"},{"@type":"BreadcrumbList","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/kedar.nitty-witty.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","position":2,"name":"MySQL","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-scripts-mysql#listItem","name":"MySQL-Scripts"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-scripts-mysql#listItem","position":3,"name":"MySQL-Scripts","item":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-scripts-mysql","nextItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#listItem","name":"how to search \/ find through all databases, tables, columns in MySQL"},"previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql#listItem","name":"MySQL"}},{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#listItem","position":4,"name":"how to search \/ find through all databases, tables, columns in MySQL","previousItem":{"@type":"ListItem","@id":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-scripts-mysql#listItem","name":"MySQL-Scripts"}}]},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"Person","@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author","url":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin","name":"Kedar","image":{"@type":"ImageObject","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/be1f7021485c325d92cc4c5d961accb9c1af72b1b11281a790f7f4f066ef10d3?s=96&d=mm&r=g","width":96,"height":96,"caption":"Kedar"}},{"@type":"WebPage","@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#webpage","url":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql","name":"Search through all databases, tables, columns in MySQL | Change Is Inevitable","description":"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql#breadcrumblist"},"author":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"creator":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/author\/admin#author"},"datePublished":"2009-10-29T08:04:35+00:00","dateModified":"2026-02-23T11:17:13+00:00"},{"@type":"WebSite","@id":"https:\/\/kedar.nitty-witty.com\/blog\/#website","url":"https:\/\/kedar.nitty-witty.com\/blog\/","name":"..::CHANGE is INEVITABLE::..","description":"Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","inLanguage":"en-US","publisher":{"@id":"https:\/\/kedar.nitty-witty.com\/blog\/#person"}}]},"og:locale":"en_US","og:site_name":"Change Is Inevitable | Kedar Vaijanapurkar's Blog for MySQL, technology and various subjects","og:type":"article","og:title":"Search through all databases, tables, columns in MySQL | Change Is Inevitable","og:description":"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.","og:url":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql","article:published_time":"2009-10-29T08:04:35+00:00","article:modified_time":"2026-02-23T11:17:13+00:00","twitter:card":"summary","twitter:title":"Search through all databases, tables, columns in MySQL | Change Is Inevitable","twitter:description":"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure."},"aioseo_meta_data":{"post_id":"38","title":"Search through all databases, tables, columns in MySQL | #site_title","description":"Dynamic mysql database search, Search find through all databases, all table, all columns in MySQL using a stored procedure.","keywords":[{"label":"MySQL Stored Procedure","value":"MySQL Stored Procedure"},{"label":"search in all databases","value":"search in all databases"},{"label":"search procedure","value":"search procedure"},{"label":"all tables","value":"all tables"},{"label":"all table all columns","value":"all table all columns"}],"keyphrases":{"focus":{"keyphrase":"MySQL database search","score":68,"analysis":{"keyphraseInTitle":{"score":3,"maxScore":9,"error":1},"keyphraseInDescription":{"score":9,"maxScore":9,"error":0},"keyphraseLength":{"score":9,"maxScore":9,"error":0,"length":3},"keyphraseInURL":{"score":1,"maxScore":5,"error":1},"keyphraseInIntroduction":{"score":3,"maxScore":9,"error":1},"keyphraseInSubHeadings":{"score":9,"maxScore":9,"error":0},"keyphraseInImageAlt":{"score":3,"maxScore":9,"error":1},"keywordDensity":{"type":"best","score":9,"maxScore":9,"error":0}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":0,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2021-03-24 17:43:00","updated":"2026-02-23 11:23:37","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\" title=\"MySQL\">MySQL<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-scripts-mysql\" title=\"MySQL-Scripts\">MySQL-Scripts<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\thow to search \/ find through all databases, tables, columns in MySQL\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/kedar.nitty-witty.com\/blog"},{"label":"MySQL","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql"},{"label":"MySQL-Scripts","link":"https:\/\/kedar.nitty-witty.com\/blog\/category\/mysql\/mysql-scripts-mysql"},{"label":"how to search \/ find through all databases, tables, columns in MySQL","link":"https:\/\/kedar.nitty-witty.com\/blog\/search-through-all-databases-tables-columns-in-mysql"}],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/comments?post=38"}],"version-history":[{"count":21,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions"}],"predecessor-version":[{"id":3554,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/posts\/38\/revisions\/3554"}],"wp:attachment":[{"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/media?parent=38"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/categories?post=38"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kedar.nitty-witty.com\/blog\/wp-json\/wp\/v2\/tags?post=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}