Load binary file using MySQL

is there a function in MySQL that I can pass the path of a binary file as an argument and it will load the binary data into whichever field I tell it to using MySQL?

nope. er wait

http://dev.mysql.com/doc/refman/5.0/en/load-data.html like that?
LOAD_FILE('/tmp/picture')
that's it!

*
To prove that you're not a bot, enter this code
Anti-Spam Image

Leave a Comment

You must be logged in to post a comment.


Blog Tags:

Similar posts: