Closed hassy-6thsense closed 8 years ago
以下コマンドを実行し「MyISAM」をgrepすれば可能?
mysql information_schema --skip-column-names --silent --execute="SELECT engine FROM tables WHERE table_schema = '<database>'"
下記のコマンドで、MyISAMのテーブルを持つデータベース名を抽出可能。
mysql [-u <user> -p] information_schema --skip-column-names --silent --execute="SELECT TABLE_SCHEMA FROM information_schema.TABLES WHERE Engine = 'MyISAM' GROUP BY TABLE_SCHEMA"