Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Handling huge BLOB fields with DBI and MySQL

by gmax (Abbot)
on Mar 08, 2002 at 07:35 UTC ( #150255=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    type         max size
    ------------ -------------
    ...
    BLOB                65_535
    MEDIUMBLOB      16_777_215
    LARGEBLOB    4_294_967_295
    
  2. or download this
    
               UPLOAD FLOW                   DOWNLOAD FLOW
    ...
       | DB field < 2 MB         |        |                         |
       |                         |        |                         |
       +-------------------------+        +-------------------------+
    
  3. or download this
    +-------------+---------------+------+-----+---------+-----------+
    | Field       | Type          | Null | Key | Default | Extra     |
    ...
    | username    | varchar(30)   |      |     |         |           |
    | updated     | timestamp(14) | YES  |     | NULL    |           |
    +-------------+---------------+------+-----+---------+-----------+
    
  4. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    exit;
    }
    
  5. or download this
    $ perl blobs.pl u mysql4 mysql-4.0.1-alpha.tar.gz "4.0.1" "MySQL alpha
    +"
    
  6. or download this
    $ perl blobs.pl d mysql mysql-4.0.1-alpha.tar.gz
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://150255]
Approved by root
help
Chatterbox?
usemodperl laughs, at you
usemodperl can see the monastery has become a rehab for children of the serpent :-)
usemodperl can't figure out how to get metacpan.org to comply with HTTP standards :-( HTTPS only!? Breaks older HTTP::Tiny...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2018-06-24 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?



    Results (126 votes). Check out past polls.

    Notices?