MySQL Forums
Forum List  »  Perl

Perl - Mysql database connection error
Posted by: Pooja Nair
Date: April 19, 2012 12:05AM


I am a newbie in MySql database,I have a perl script which connects to mysql database and executes select and update query.Sometimes while running that script,iam getting an warning :

DBD::mysql::st execute failed: MySQL server has gone away

and the script fails.

The database is installed on a linux box and the script is excuted from a windows machine.Also, I tried to connect to the mysql database from command line.I am able to do that w/o any problem.

Can anyone help me to find the reason for this failure?


Options: ReplyQuote

Written By
Perl - Mysql database connection error
April 19, 2012 12:05AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.