perl - Access to Apache::DBI from DBI -


Use Apache :: DBi database handles from a Perl script (which is not running under mod_perl) possible?

I am pooling a database for my Perl scripts, I have a growing number of database sources (Oracle / Miskel) and scripts.

Using some ideas such as SQLRelay, database link and pooling, using Oracle10XE, and converting all scripts into SOAP calls etc. is becoming more and more viable, but if Apache :: DBI re- There was a mechanism to use so I can fight it a bit.

I do not have any non-Pearl requirements, so we do not have the same functionality as a php / jdbc implementation or working with it.

Thank you

Firstly it helps to remember that DBI / DBD Not a wire protocol, but an API on different data sources.

Since you want to connect to different pools of database connections with different processes, this is not appropriate, and there is also a strange option (they are both rappers on DBI). You are looking for something that lets you connect several processes to handle a shared database.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -