perl-Apache-DBI

Initiate a persistent database connection

This module initiates a persistent database connection. The database access uses Perl's DBI. For supported DBI drivers see: <a href="http://dbi.perl.org/">http://dbi.perl.org/</a> When loading the DBI module (do not confuse this with the Apache::DBI module) it checks if the environment variable 'MOD_PERL' has been set and if the module Apache::DBI has been loaded. In this case every connect request will be forwarded to the Apache::DBI module. This checks if a database handle from a previous connect request is already stored and if this handle is still valid using the ping method. If these two conditions are fulfilled it just returns the database handle. The parameters defining the connection have to be exactly the same, including the connect attributes! If there is no appropriate database handle or if the ping method fails, a new connection is established and the handle is stored for later re-use. There is no need to remove the disconnect statements from your code. They won't do anything because the Apache::DBI module overloads the disconnect method.

There is no official package available for openSUSE Leap 15.3

Distributions

openSUSE Tumbleweed

openSUSE Leap 15.3

openSUSE Leap 15.2

SUSE SLE-15-SP2

SUSE SLE-15-SP1

RedHat RHEL-7

RedHat RHEL-6

RedHat RHEL-5

CentOS CentOS-7

Unsupported distributions

The following distributions are not officially supported. Use these packages at your own risk.