I set index for mysql table, when i take backup using query browser , mysqlworkbench dose not display index details. What is the problem or else any mine mistake.
See mine table. I have set index for "id" column but not display that details.
CREATE TABLE IF NOT EXISTS `testsakthi` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` int(11) NOT NULL,
`status` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;
My Question is where is index details? EX:
CREATE TABLE child (
id INT, parent_id INT,
INDEX par_ind (parent_id),
FOREIGN KEY (parent_id) REFERENCES parent(id) ON DELETE CASCADE
) ENGINE=INNODB;
I have found some url they told some idea. see title " NO_KEY_OPTIONS "