insert into imgTest values(1,'first',load_file('C:/Users/New folder/Desktop/4.png')); This is my query.When I am trying to insert image there is an error - Error Code: 1048. Column 'img' cannot be null. How can I solve this. create table slide ( id bigint not null primary key auto_increment, pic longblob not null );