|
for some reason, if i let tvdinner sit around ahwhile, when i finaly
go to connect to it i get the following error:
error: DBD::mysql::st execute failed: MySQL server has gone away
at /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/MySQL.pm line
54.
context: ...
50: #MySQL requires a timeout on the lock operation. There is no
option
51: #to simply wait forever. So we'll wait for a hour.
52:
53: my $sth = $self->{dbh}->prepare_cached(q{SELECT GET_LOCK(?,
3600)}, {}, 1);
54: $sth->execute($self->{lockid});
55:
56: $self->{lock} = 1;
57: }
58:
...
code
stack: /usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/MySQL.pm:54
/usr/lib/perl5/site_perl/5.6.1/Apache/Session/Lock/MySQL.pm:60
/usr/lib/perl5/site_perl/5.6.1/Apache/Session.pm:569
/usr/lib/perl5/site_perl/5.6.1/Apache/Session.pm:497
/usr/lib/perl5/site_perl/5.6.1/Apache/Session.pm:462
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm:1078
i actually have to login and restart the database and apache before
it will decide to start working again. is there a reason/way around
this? after ahwhile it gets a little tedious
thanks
josh
|