My problem: Using Entity Framework with MySQL, I kept getting the error "BLOB/TEXT used in key specification without a key length". I added [StringLength(20)] and [MaxLength(20)] and [Column(TypeName="nvarchar")] to my only string-type [Key], with no progress.
I've found other references to this problem, but they are all out-of-date; there were issues in Connector/Net a few years ago related to this which have since been fixed.