<?php
include_once('./_common.php');
$sql = "SELECT table_name FROM INFORMATION_SCHEMA.TABLES WHERE table_schema = 'dbbame' and engine = 'InnoDB'";
$rs = mysql_query($sql);
while($row = mysql_fetch_array($rs))
{
$tbl = $row[0];
$sql = "ALTER TABLE $tbl ENGINE=MyISAM";
mysql_query($sql);
}
?>
InnoDB 인 것을 MyISAM으로