Re: storing binary data in mysql
| From: | Fai | Date: | Mon, 03 Dec 2001 08:15:30 +0000 |
| Subject: | Re: storing binary data in mysql | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14757@lists.php.net to get a copy of this message | ||
I have tested it in the source installation MySQL server with PHP and found
that
the image can only be stored and retrival from mysql using PHP when the
image's size
is smaller that 1K. Although, I increase the size of mysql's
max_allowed_packet, net_buffer, table_cache.
"Fred" <fred.nospam.please@querymagic.com> ¼¶¼g©ó¶l¥ó·s»D
:20011203061435.47158.qmail@pb1.pair.com...
> Why do you think it cannot store binary data? Are you recieving an error
> message. If so, what it is?
>
> Fred
>
> Fai <kin_fai@yahoo.com> wrote in message
> news:20011203034449.16628.qmail@pb1.pair.com...
> > 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 option when compiling MySQL from source?
> >
> > Thank you very much!
> >
> >
>
>