I have a create table
statement:
DROP TABLE IF EXISTS `example`;
CREATE TABLE `example` (
`date` datetime DEFAULT NULL,
`id` varchar(200) DEFAULT NULL,
....
`source` varchar(200) DEFAULT NULL,
KEY `idx1` (`source`),
KEY `idx2` (`id`,`date`) USING BTREE,
) ENGINE=MyISAM DEFAULT CHARSET=latin1
When executing the code above, it creates a table as expected but with a warning:
0 row(s) affected, 1 warning(s): 1266 Using storage engine InnoDB for table 'example'
Why I got this warning? How can I change the engine to MyISAM? I'm new to MySQL, please can someone give me some hint, thanks.