So I am trying to insert an image to my database...
I have this table in my database...this part work...
CREATE TABLE IF NOT EXISTS spacelocation (
spacelocationid BIGINT NOT NULL AUTO_INCREMENT, PRIMARY KEY(spacelocationid),
image BLOB,
name VARCHAR(255) NOT NULL UNIQUE,
);
the spaceloctionid...