Hi!
Ive been trying forever to get the map images loaded into my mysql-3.23.58 database. The error "image column cannot be null" is driving me crazy here.
I guess this means that the LOAD_FILE function did not work and that it doesnt load anything into the image column.
Ive tried everything i could find on the forums, including copying the images to /var/lib/mysql. Ive changed images.sql, added the full path to the images. Ive changed the permissions on the images to 777 to make them readable to everyone. ive tried manually adding a line to the images table and then doing
UPDATE images SET image = LOAD_FILE("/tmp/Hub.png") WHERE imageid = 1;
This returns OK, 0 rows updated, 1 warnings.
Im totally lost here.
Any ideas?
Ive been trying forever to get the map images loaded into my mysql-3.23.58 database. The error "image column cannot be null" is driving me crazy here.
I guess this means that the LOAD_FILE function did not work and that it doesnt load anything into the image column.
Ive tried everything i could find on the forums, including copying the images to /var/lib/mysql. Ive changed images.sql, added the full path to the images. Ive changed the permissions on the images to 777 to make them readable to everyone. ive tried manually adding a line to the images table and then doing
UPDATE images SET image = LOAD_FILE("/tmp/Hub.png") WHERE imageid = 1;
This returns OK, 0 rows updated, 1 warnings.
Im totally lost here.
Any ideas?
Comment