db2 "export to emp_photo of del lobs to . select * from emp_photo where empno=000130 and photo_format='bitmap' "
会生成 emp_photo.001.lob
之后用mysql导入
CREATE TABLE MyTable ( image BLOB );
INSERT INTO MyTable (image) VALUES(LOAD_FILE('/tmp/emp_photo.001.lob'));
可以写个脚本一张图片 一张处理。 最好写程序来处理