List:General Discussion« Previous MessageNext Message »
From:sheeri kritzer Date:March 27 2006 4:57pm
Subject:Re: DBD::mysql::st execute failed: MySQL server has gone away
View as plain text  
What happens if you try to connect to the database on the commandline?

-Sheeri

On 3/24/06, Luke Vanderfluit <lvanderf@stripped> wrote:
> Hi.
>
> I'm getting the following error running apache2 with modperl, mysql
> 4.1.18 and RT 3.4.5
> *error:*        DBD::mysql::st execute failed: MySQL server has gone away at
> /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm
> line 70.
> *context:*
> *...*
> *66:*   if ($self->{lock}) {
> *67:*   local $self->{dbh}->{RaiseError} = 1;
> *68:*
> *69:*   my $sth = $self->{dbh}->prepare_cached(q{SELECT
> RELEASE_LOCK(?)}, {}, 1);
> *70:*   $sth->execute($self->{lockid});
> *71:*
> *72:*   $self->{lock} = 0;
> *73:*   }
> *74:*   }
> *...*
>
> *code stack:*
> /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:70
> /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:81
> /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/Apache/Session/Lock/MySQL.pm:87
> /usr/local/stow/perl-5.8.7/lib/site_perl/5.8.7/HTML/Mason/Request.pm:1249
>
>
> If anyone can help, I'd appreciate it.
> Kind regards.
>
> --
> Luke
>
>
>
Thread
DBD::mysql::st execute failed: MySQL server has gone awayLuke Vanderfluit25 Mar
  • Re: DBD::mysql::st execute failed: MySQL server has gone awaysheeri kritzer27 Mar
    • Re: DBD::mysql::st execute failed: MySQL server has gone awayLuke Vanderfluit28 Mar
      • Re: DBD::mysql::st execute failed: MySQL server has gone awayRavi Prasad LR28 Mar
        • Re: DBD::mysql::st execute failed: MySQL server has gone awayLuke Vanderfluit30 Mar