This page has sample article/code how to store any type/size of file in
mysql..   Depending on the appliation it could be a good idea (such as
revision control or something)

http://php.dreamwerx.net/forums/viewtopic.php?t=6


On Fri, 12 Dec 2003 [EMAIL PROTECTED] wrote:

> I am working with a project on sourceforge http://leopard.sourceforge.net
> and this is one of the package management stratagies we are thinking about
> trying. As I said I have almost no experience with mysql so I open to any
> and all suggestions. Very good points being made about the size of the
> rows.
>
> Thanks for the quick responses :-)
>
> Jake Walters
>
>
>
>
>
>
> > Can I ask why?
> >
> > Why not define a char(50) (or whatever size) with the relative or complete
> > path to the .tar file? Storing it in your database would create huge row
> > sizes.
> >
> > Joshua Thomas
> > Network Operations Engineer
> > PowerOne Media, Inc.
> > tel: 518-687-6143
> > [EMAIL PROTECTED]
> >
> > ---
> > In theory there is no difference between theory and practice. In practice
> > there is.
> > - Yogi Berra
> > ---
> >
> >
> >
> >> -----Original Message-----
> >> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >> Sent: Friday, December 12, 2003 3:55 PM
> >> To: [EMAIL PROTECTED]
> >> Subject: storing .tar files in mysql
> >>
> >>
> >> Hi all,
> >>  I am new to mysql and I was wondering if someone could point
> >> me in the
> >> right direction on how to store .tar and .tar.gz (bzip2)
> >> files inside a
> >> mysql database. I have googled to try and find some help
> >> there but most
> >> of the hits come back with binary image files. I have gone
> >> thru the mysql
> >> tutorial and I can create the database and tables, but I can't seem to
> >> insert the .tar file properly...Any pointers would be appreicated...
> >>
> >> Thanks,
> >> Jake
> >>
> >> --
> >> MySQL General Mailing List
> >> For list archives: http://lists.mysql.com/mysql
> >> To unsubscribe:
> > http://lists.mysql.com/[EMAIL PROTECTED]
> >
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]
>

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to