Re: Extract files from a mysql database

Jochen Wiedmann <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
On 2/1/06, Sham Prasad <[email protected]> wrote:

> I am working on bugzilla which has a mysql database called "bugs". It has a
> table named "attachments" in it.

In your special case, I'd recommend *not* to retrieve the file using
DBD::mysql, but via the Bugzilla CGI binaries. (In other way, connect
to the URL /attachments.cgi?id=<id>.) That way, you leave Bugzilla the
possibility to change its database structure (which it frequently
does), and you are within Bugzillas security system.

Jochen (Bugzilla Consultant)

--
If you obey all the rules you miss all the fun. (Katharine Hepburn)

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.