This installs 2 modules
perl Makefile.PL make make test make install
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:
the 2 database names
the database host. If omitted
localhost is used.
make test command looks like:
MYSQL1=dbitest1 MYSQL2=dbitest2 make test
BerkeleyDB is not available a few tests are skipped.
BerkeleyDB is used if installed to make DBI handle statistics visible for the whole Apache process group instead of a single process.
perldoc -tU README.pod >README