MySQL MySQL: ERROR 1071 (42000) at line: Specified key was too long; max key length is 767 bytes When I was doing the development with a recent project, I found out this err: Error: ERROR 1071 (42000) at line 50: Specified key was too long; max key length is 767 bytes See here is one of my model class with url as an unique string. As UTF8 is