Came across this one today... Not a Cook install error but may be worth making note about MYSQL row length limits
I had a table that i needed to recreate lots of string fields over 90 of them from an external data source (an old school flat file)... in a previous test project this table was built by Cook and Installed with out error... but i needed to create the same table in a new component so i went about creating this table again without further thought
I just did the usual drag and drop field types as needed... but this time i did not match the field lengths with my original flat file before building for download and local install. When i went to install i get the below error
1118 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs...
So now I notice that I had not limited the field lengths all of my 90 string fields were set to the default length of 255 characters... at first I was unsure why it failed thinking 90*255 = 22,950 but some quick research finds that the 65535 value mentioned in the error is in fact bytes!
Our data base is in UTF-8 which takes up to 3 bytes per character and now it becomes apparent why such an error has occurred...
255 characters x 3 Bytes x 90 fields = 68850 bytes over 3000 bytes bigger than allowed
So as i said in the beginning NOT a Cook install issue but a limitation of the MYSQL (and poor database design if it were intended to leave all 90 fields at 255 characters)
P.S. Admin... I did not see it as needing a new ticket as i dont think its something that many of us would encounter frequently so just Posted directly in Trouble Shooting for reference