Re: max_allowed_package problem

From: Remo Sanges (sanges_at_biogem.it)
Date: 01/26/05


Date: Wed, 26 Jan 2005 15:27:15 +0100
To: wkarlowski@web.de

On Jan 26, 2005, at 3:19 PM, Wojciech Karlowski wrote:

> 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!

Have you restarted the server?

BTW this is a 'server side' setting.

I usually prefer to restart the server
with the rigth settings rather than modify
the conf files:

safe_mysqld --max_allowed_packet=100M

HTH

Remo



Relevant Pages

  • RE: login and email problems
    ... Please carefully check settings required in my previous post and post the ... Install the RPC ping utility on the client computer and then open a command ... Microsoft CSS Online Newsgroup Support ... Leave the Default Gateway of the internal NIC blank of the server box. ...
    (microsoft.public.windows.server.sbs)
  • Re: Monitoring and Alerts
    ... Relay settings for Exchange SMTP Virtual Server: ... we pursue the performance alerts issue further. ... | Subject: Re: Monitoring and Alerts ...
    (microsoft.public.windows.server.sbs)
  • Re: User-Specific Settings
    ... clear statement from the vendor that running ACT! ... Server is *not* supported. ... it would explain why changes in settings are not preserved. ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.win2000.termserv.apps)
  • Re: All remote access stopped ?
    ... Server 2003 Remote Web Workplace ... Microsoft CSS Online Newsgroup Support ... <Firewall Settings on lefthand side, Advanced settings, Under attack ...
    (microsoft.public.windows.server.sbs)
  • RE: MySQL/PHPMyAdmin on FC3 Connection Problem
    ... // You can disable a server config entry by setting host to ''. ... MySQL server ... MySQL control user settings ... table to describe the display fields ...
    (Fedora)