Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2014-09-20 17:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (160 votes), past polls