Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: How to use Apache::DBI with CGI scripts

by cjensen (Sexton)
on Oct 06, 2001 at 02:47 UTC ( #117137=categorized answer: print w/replies, xml ) Need Help??

Q&A > CGI programming > How to use Apache::DBI with CGI scripts - Answer contributed by cjensen

In your startup script you need to call Apache::DBI->connect_on_init with the same parameters that you pass to DBI->connect.

Make sure things work without with vanilla DBI before adding the Apache::DBI layer.

Just look at netstat to see if there are open connections between your web servers and your database.

The answers to all your questions are here:

http://perl.apache.org/guide/databases.html

  • Comment on Answer: How to use Apache::DBI with CGI scripts
Replies are listed 'Best First'.
Re: Answer: How to use Apache::DBI with CGI scripts
by merlyn (Sage) on Oct 06, 2001 at 20:14 UTC
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2016-12-05 02:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (71 votes). Check out past polls.