Storing Binary data in MySQL

2002-02-06 Thread Jorge Guerra
Hello, I'm new to Unix and MySQL. I would like to store binary data in MySQL, but cannot find any sample code on how to go about doing this in C. The binary data is variable size ranging from 3k to 10k. I want to store it in a row along with a User ID so I can retrieve it by doing a query on this

problem of storing binary data in mysql

2001-12-02 Thread kin fai
I use MySQL rpm to install in RedHat 7.2 in one of my pc. Then I store binary data such as image in MySQL and it works normally. However, I install source MySQL in RedHat 7.2 in another pc. But it cannot store binary data. Does anybody know the reason? Is that it need some special configure opti