"MySQL server has gone away" error

English! place to talk about development, programming and coding
Post Reply
dstover
Znuny advanced
Posts: 135
Joined: 04 Jun 2013, 23:14
Znuny Version: 3.3.3
Real Name: Dan Stover
Company: EMAC, Inc.

"MySQL server has gone away" error

Post by dstover »

I am getting a somewhat random "MySQL server has gone away" error sometimes when running Perl programs that I have either written from scratch or modified the original code. I am using standard Perl in my subroutines and and connecting disconnecting when needed using DBI. It looks from the front end that the objects built into OTRS are trying to do a database call and finding no connection. Is there some reason I shouldn't use standard Perl along with the usage of internal OTRS DB objects and so on? I have looked at the settings on MySQL and found nothing out of the ordinary. I have also tried different settings based on Internet research and still the problem crops up at random.

Any advice would be appreciated...Dan.
OTRS 3.3.3
Ubuntu 12.04
MySQL DB
Post Reply