fixing Specified key was too long; max key length is 767 bytes

refs #5668 

@karlitschek @bantu @butonic @schiesbn @blizzz THX