PHP forums, MySQL forums, Web Development resources

Home PageHome    PHP ResourcesTopic List    FAQFAQ    SearchSearch    MemberlistMemberlist    UsergroupsUsergroups 
 RegisterRegister
    ProfileProfile    Log in to check your private messagesLog in to check your private messages    Download the RSS Reader RSS Feed Download the RSS Reader RSS for this forum Log inLog in 

PHP Forum :: MySQL Forum :: Java Script Forum



max_packet_length headaches

 
Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General
View previous topic :: View next topic  
Author Message
Swift Griggs
Guest





PostPosted: Fri Jan 29, 1999 8:48 am    Post subject: max_packet_length headaches Reply with quote

I've created a system with MySQL 3.21c, Apache 1.3.3, PHP 3.0.6. I've figured out how to get files into the database by using BLOB column types. I've also increased the max_packet_length so that MySQL will accept images larger than 64k, however, it seems that even though the files get uploaded properly and don't get truncated, it looks like either the database won't _show_ more than 64k out of a select, or that the max_packet_lenght didn't have the disired effect. I checked using mysqladmin variables command, but it showed that I had increased the limit to 3Mb. Strange... can someone help?
Back to top
Swift Griggs
Guest





PostPosted: Sat Jan 30, 1999 9:51 am    Post subject: RE: bah forget it. Reply with quote

Hehe. I figured it out. My problem was that I had MySQL working fine and had the max_allowed_packet set plenty high, but the in the table definition I had the column that I was using set as a BLOB and not a MEDIUMBLOB or a LONGBLOB, and the limit on BLOB also happens to be 64k..
DUH! I'm a bonehead sometimes
Back to top
Display posts from previous:   
WeberTrivia Questions WeberTrivia Questions
 Think you are smart? Prove it!. Try your skills with these questions :
 WeberTrivia QuestionsRecursive arrays and multi-dimensional arrays are one and the same. (PHP and MySQL)
 WeberTrivia QuestionsThe \"cache_dir\" tag of the squid configuration has a default of /var/spool/squid. (Linux)

WeberTrivia Questions



Post new topic   Reply to topic    WeberForums.com Forum Index -> PHP General All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum






Powered by phpBB © 2001, 2005 phpBB Group
PHP Forum :: MySQL Forum :: Java Script Forum