View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
Torsten Förtsch > Apache-DBI-Cache > mk_README.sh

Download:
Apache-DBI-Cache-0.08.tar.gz

Annotate this POD

CPAN RT

New  4
Open  1
View/Report Bugs
Source  

INSTALLATION ^

This installs 2 modules Apache::DBI::Cache und Apache::DBI::Cache::mysql.

 perl Makefile.PL
 make
 make test
 make install

Testing

MySQL

Since Apache::DBI::Cache::mysql depends on MySQL you need 2 databases on the same DB server listening on port 3306 to test it. Nothing will be written to them. Only connections are established and the SHOW PROCESSLIST command is executed.

The connection parameters are passed to the test as environment variables. If you do not want to test it leave them empty and the plugin test (t/100mysql) is silently skipped.

These environment variables are used:

MYSQL1, MYSQL2

the 2 database names

MYSQL_HOST

the database host. If omitted localhost is used.

MYSQL_USER, MYSQL_PASSWD

you credentials.

My make test command looks like:

 MYSQL1=dbitest1 MYSQL2=dbitest2 make test

BerkeleyDB

If BerkeleyDB is not available a few tests are skipped.

DEPENDENCIES ^

BerkeleyDB is used if installed to make DBI handle statistics visible for the whole Apache process group instead of a single process.

DBI 1.37

perl 5.8.0

EOF

perldoc -tU README.pod >README

syntax highlighting: