Quantcast
Viewing all articles
Browse latest Browse all 80

MySQL find all MyISAM tables

The information_schema table saves information about databases, tables, columns, indexes and triggers, etc.

 

To list all MyISAM tables, we can use following SQL

select * from information_schema.tables where engine='MyISAM';

 

And to find MyISAM tables in database wordpress

select * from information_schema.tables where engine='MyISAM' and table_schema='wordpress';

 

Next filter them with a table prefix wp_

select * from information_schema.tables where engine='MyISAM' and table_schema='wordpress' and table_name like 'wp_%';

The post MySQL find all MyISAM tables appeared first on Redino blog.


Viewing all articles
Browse latest Browse all 80

Trending Articles