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