Is the primary key automatically indexed in MySQL?

The primary key is always indexed. This is the same for MyISAM and InnoDB, and is generally true for all storage engines that at all supports indices.

Leave a Comment