Im currently working on iOS application which populate videos in UITableView by using MySQL as rdbms and xampp as a web server. I am facing difficulty in inserting URL in MySQL table. To make it more clear, i have 3 column which is NewID, NewsTitle and NewsVid in the table. when i insert the URL by query such as:
INSERT INTO `dbnews`.`Newsfeed` (`NewsID`, `NewsTitle`, `NewsVid`) VALUES ('1', 'Today's news', LOAD_FILE('Macintosh HD/Applications/XAMPP/xamppfiles/htdocs/video/Crime.mp4'))
An error prompt "#1048 - Column 'NewsVid' cannot be null"
Hoping on providing a guide for me to tackle this issues since i am in process of learning.