Accessing binary blob data in MySQL backend

Igor Sysoev igor at sysoev.ru
Tue May 31 17:57:35 MSD 2011


On Tue, May 31, 2011 at 07:20:34AM -0400, csg wrote:
> Hi!
> 
> I am curious if is feasible to have Nginx deliver binary blob data which
> is currently stored in a MySQL database. I was loosely following the
> examples mentioned in agentzh's blog [1] which work all fine for me with
> non-binary data. But as JSON is used for intermediate serialization
> which is not binary safe I was wondering if there are other ways (or
> even modules) that access the raw payload data from its RDS
> representation.
> 
> In my scenario I'm trying to access images data like JPEGs stored as
> blobs in MySQL causing the JSON parser to fail of course

I can not say anuthing about subject, I'm just interesting are any
advanatges to store images in MySQL instead of file system ?


-- 
Igor Sysoev



More information about the nginx mailing list