MySQL 导出 BLOB 字段到文件

清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>

SELECT certificate
  INTO DUMPFILE '/tmp/certificate.bin'
  FROM identity
 WHERE id = 42;