I am trying to save a video file in a database using MySQL, but I do not know how to store the video in a database. I am trying to execute a request but it is not working.
CREATE TABLE GAME ( GAME_ID INTEGER NOT NULL PRIMARY KEY, GAME_NAME VARCHAR (20), VIDEO LONGBLOB ); INSERT INTO GAME VALUES(3, "Termonator2", LOAD_FILE("C:\Users\Public\Videos\Sample Videos"));
Please give me any link or hint.
Any help is appreciated.
source share