That is not a BANano specific question. There are plenty of code samples and threads related to MySQL and blob field, specially images related.
Just do a simple search.
In my app I gave users the option to send files to one another. What I did was:
1. Similar to Manfred's suggestion, I would upload the file to the server and just store the URL address in the database.
HOWEVER, to make sure it's not accessed by others just by knowing the file name, I would store the file on the server with a random junk name (like AD76wadawd.f) and again put that name and the real name in a database field.