FOR MYSQL ONLY
Enter this command at a dos prompt:
NOTE:
you need to be in the folder that has the images table
note that there is a ‘double dash’ before max and before sort.
the others are single dashes.
myisamchk -r –max-record-length=2000000 –sort_buffer_size=64M images