perl5-dbi / DBD-MariaDB

Perl MariaDB driver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MySQL server has gone away

waldo22 opened this issue · comments

My first attempt to switch from DBD::mysql to DBD::MariaDB was stymied by the errors MySQL server has gone away and Can't locate object method "execute" via package "1" (perhaps you forgot to load "1"?).

I'm not sure where to even begin troubleshooting this issue, but switching back to DBD::mysql "fixed" the problem.

This is most likely something that we're doing in a non-standard way, but I would appreciate any pointers in what to look for.

commented

Could you please show exact code which triggered this error?