logo       

storing various files in mysql: msg#01179

db.mysql.general

Subject: storing various files in mysql

I need to store small files in mySql. Some are binary and some are not,
can they be stored the same way ?
eg: Read them in as binary and store them in a blob ?

I can't figure out how to store binary data in mySql using ADODB, c# ?

I read in the binary data as a byte array. I then convert that to a
string and insert it into mySql in the normal fashion. mySql complains
about this ?

can anyone help ?

thanks

Craig


---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <mysql-thread113429@xxxxxxxxxxxxxxx>
To unsubscribe, e-mail
<mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise