store binary files in mysql

I

Ivan Horvath

Dear All,

i would like to store binary file contents to a mysql database in a
mediumblob fields.
i've got problem when there is a simple quote, double quot, backslash or
NUL character in the file content, because these characters are
acceptable by mysql only when there is an escape char. before it.
do you know any solution, how can i replace these characters in order to
import it to a mysql table?

--

Best Regards,

Iván Horváth
Chief Programmer

Anyone who has never made a mistake has never tried anything new.

/Albert Einstein/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top