How to find MySQL temporary table storage engine
Hi I am working with Temporary table and I would like to know the temporary table storage Engine (InnoDB, MyISAM .... ) I am using the following code to find out but it is not showing me the storage Engine. $engine="SELECT ENGINE FROM information_schema.TABLES WHERE TABLE_SCHEMA='test' AND `TABLE_NAME`='temporary_table'"; $export = mysql_query($engine, $connection) or die ("Sql error : ".mysql_error()); while ($row = mysql_fetch_array($export, MYSQL_BOTH)) { printf ("ENGINE: %s ---", $row[0]); } But the same code is working when I try to find the storage engine for Physical tables in my DB?