#1071 – Specified key was too long; max key length is 1000 bytes
As @Devart says, the total length of your index is too long. The short answer is that you shouldn’t be indexing such long VARCHAR columns anyway, because the index will be very bulky and inefficient. The best practice is to use prefix indexes so you’re only indexing a left substring of the data. Most of … Read more