MariaDB Insert BLOB Image
问题 What I want to do? I want to insert a picture into a MariaDB database using the command line, using the LOAD_FILE fuction. What's wrong? I always get a NULL return. I don't want a solution like: This is bad style and I haven't seen this so far - try to store the full path! I want to store this picture in this database and not the path. System mysql Ver 15.1 Distrib 10.1.17-MariaDB, for Linux (x86_64) using readline 5.1 ArchLinux 4.7.2-1-ARCH A picture called Test.jpg (817KB) under /home/user