I have written a Perl script that accesses a MySQL database repeatedly. After a few hundred selections & insertions into the database, subsequent selections are always answered with the following error message:
DBD::mysql::db selectrow_hashref failed: MySQL server has gone away at Metabase.pm line 67.
However, Line 67 is just, and it worked perfect for the first few hundred database queries.
Any idea of what could be going on? Thanks.