max_allowed_package problem
From: Wojciech Karlowski (wkarlowski_at_web.de)
Date: 01/26/05
- Next message: Remo Sanges: "Re: max_allowed_package problem"
- Previous message: Thilo Planz: "Re: Paged Querys"
- Next in thread: Remo Sanges: "Re: max_allowed_package problem"
- Reply: Remo Sanges: "Re: max_allowed_package problem"
- Maybe reply: Wojciech Karlowski: "RE: max_allowed_package problem"
- Reply: Paul DuBois: "Re: max_allowed_package problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Wed, 26 Jan 2005 15:19:21 +0100
Hi,
I am using Linux Debian (Sid) with libdbi-perl version 1.46-5 and mySQL
version 4.1. Currently, I am trying to set up a perl script which will
use the DBI module to connect to database. Everything works fine unless
I try to insert large (around 18MB) text object. When I do this I get a
following error:
!! ERROR: 2020 'Got packet bigger than 'max_allowed_packet'
I have already changed to settings for the "max_allowed_package"
variable in the mysql server config (/etc/mysql/my.cnf) and in the local
settings (~/.my.cnf) file.
When I issue the same statement using the mysql client everything works
w/o problems.
Does someone know where can I set up the "max_allowed_package" variable
for the DBI-driven connection? Obviously, it doesn't care about the
server or client settings!
TIA, Wojtek
- Next message: Remo Sanges: "Re: max_allowed_package problem"
- Previous message: Thilo Planz: "Re: Paged Querys"
- Next in thread: Remo Sanges: "Re: max_allowed_package problem"
- Reply: Remo Sanges: "Re: max_allowed_package problem"
- Maybe reply: Wojciech Karlowski: "RE: max_allowed_package problem"
- Reply: Paul DuBois: "Re: max_allowed_package problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|