Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: DBD::Mysql not working properly in mac OS X

by talexb (Chancellor)
on Nov 04, 2013 at 16:31 UTC ( [id://1061150]=note: print w/replies, xml ) Need Help??


in reply to Re^4: DBD::Mysql not working properly in mac OS X
in thread DBD::Mysql not working properly in mac OS X

    it gives output in the terminal ..

So you get the same error as when you run the CGI? Then it seems that your Perl isn't able to find the module that you say you installed. Perhaps it was installed in the wrong place, or your library path is wrong.

It sounds like you need to address the root cause -- is the MySQL client side software loaded? Can you access MySQL from the command line?

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

  • Comment on Re^5: DBD::Mysql not working properly in mac OS X

Replies are listed 'Best First'.
Re^6: DBD::Mysql not working properly in mac OS X
by romy_mathew (Beadle) on Nov 04, 2013 at 17:07 UTC
    Alex, I can access the mysql from the command line, execute the commands, output is as expected in the terminal "perl hello.pl" but the same script fails with in the browser "http://localhost/cgi-bin/hello.pl" with the error message posted int he first thread.

      OK -- how about when you run the CGI from the command line? I'm thinking there might be a problem with a Perl that the web server's running.

      Alex / talexb / Toronto

      Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-19 14:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found