I have a subroutine that opens two mysql databases that is shared by multiple scripts on a stand-alone Debian 8 server. It was working in all the scripts (around 14) but recently stopped working in just one.
The error is:
install_driver(mysql) failed: Can't locate loadable object for module +DBD::mysql in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.3 +8.2/x86_64-linux /usr/local/lib/perl5/site_perl/5.38.2 /usr/local/lib +/perl5/5.38.2/x86_64-linux /usr/local/lib/perl5/5.38.2) at (eval 5) l +ine 3. Compilation failed in require at (eval 5) line 3. Perhaps a module that DBD::mysql requires hasn't been fully installed
I don't want to force reinstall the DBD::mysql module for fear of breaking all the scripts that are not receiving the error.
I tried running just the sub by itself and I get the error. I tried moving the script to a folder where a not-broken script resides. Same error.
Any thoughts?
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |