dcscott has asked for the wisdom of the Perl Monks concerning the following question:
If I try to run a script from a login I get this response even though DBD::mysql exists on every path in the error:
Opening the database
install_driver(mysql) failed: Can't locate loadable object for module DBD::mysql in @INC (@INC contains: . /usr/local/lib/perl5/site_perl/5.38.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 6) line 3.
Compilation failed in require at (eval 6) line 3.
Perhaps a module that DBD::mysql requires hasn't been fully installed
HOWEVER.... I can run it in my browser with no errors
Why is this??
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: mysql error
by LanX (Saint) on Feb 16, 2024 at 17:14 UTC | |
by dcscott (Novice) on Feb 16, 2024 at 19:14 UTC | |
by Danny (Chaplain) on Feb 16, 2024 at 19:37 UTC | |
by dcscott (Novice) on Feb 16, 2024 at 20:05 UTC | |
by dcscott (Novice) on Feb 16, 2024 at 18:22 UTC | |
by dcscott (Novice) on Feb 16, 2024 at 18:47 UTC | |
|
Re: mysql error
by Danny (Chaplain) on Feb 16, 2024 at 17:41 UTC | |
by dcscott (Novice) on Feb 16, 2024 at 18:26 UTC | |
by Danny (Chaplain) on Feb 16, 2024 at 18:47 UTC | |
by dcscott (Novice) on Feb 16, 2024 at 19:03 UTC | |
by Danny (Chaplain) on Feb 16, 2024 at 19:14 UTC | |
by dcscott (Novice) on Feb 16, 2024 at 18:58 UTC |