标签: mysql
当我运行此查询时,它只会将NULL插入image列:
NULL
image
insert into imgblob('image') values(LOAD_FILE("C:\Users\Desktop\apple.png"));
答案 0 :(得分:0)
尝试LOAD_FILE('C:/Users/Desktop/apple.png'),即“/”而不是“\” 检查此stackoverflow answer