ApacheMysql

 view release on metacpan or  search on metacpan

Mysql.pm  view on Meta::CPAN


 $dbh = Apache::Mysql->connect(...);

=head1 DESCRIPTION

This module supplies a persistent database connection to Mysql. You will need to have mysqlperl installed on your system. You should really use Apache::DBI instead of this module (this module was written when DBI::Mysql had problems, which have since...

This is the first version of the first module I have ever written, so expect errors! Any feedback or suggestions are gratefully received.

All you really need is to replace Mysql with Apache::Mysql. 
When connecting to a database the module looks if a database 
handle from a previous connect request is already stored. If 
not, a new connection is established and the handle is stored 
for later re-use. The destroy method has been intentionally 
left empty. 

=head1 SEE ALSO

Apache(3), Mysql(3)

=head1 AUTHORS



( run in 0.358 second using v1.01-cache-2.11-cpan-64827b87656 )