SQLSTATE[42000]: Syntax error or access violation: 1071
By Lillian Herman at Jun 13 2021
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes
By Sparkling VIn at Nov 15 2020
PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes") laravel 8
By Jan Kreiger at Sep 15 2020
SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table `users` add unique `users_email_unique`(`email`))
By Sonya Flatley at Apr 30 2021