If you are just using MySQL without transactions, you don't need Apache::DBI, you can use DBI->connect_cached() in place of connect() and just not call close(). However, Apache::DBI does work for mod_perl 2 with some patches. If you look at the mod_perl mailing list archive you'll see that this was just being discussed today.