Community

Why MySQL tables need a primary key

(Federico Razzoli) In MySQL and MariaDB, all tables should have a primary key – especially InnoDB tables. I mentioned this in several articles, see Primary Key in InnoDB: how they work and best practices.