Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Can't locate DBD/mysql.pm in @INC

by sauoq (Abbot)
on Mar 22, 2015 at 03:51 UTC ( [id://1120864]=note: print w/replies, xml ) Need Help??


in reply to Can't locate DBD/mysql.pm in @INC

I'm guessing that homebrew doesn't actually replace the system perl, which is the one you are trying to run (#!/usr/bin/perl). Maybe try changing that to #!/usr/bin/env perl or calling your script as perl script.pl. If that doesn't work, you'll probably need to fix your path or put the full path to homebrew's perl on the shebang line.

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re^2: Can't locate DBD/mysql.pm in @INC
by donfox1 (Novice) on Mar 22, 2015 at 15:06 UTC

    I've resolved the problem by uninstalling mysql and maria-DB then reinstalling maria-DB with homebrew. There had been a problem with symlinks previously. Now I can access my databases; Thanks!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1120864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-20 04:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found