Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
set
DBI->trace(2 => "/tmp/logfile");
somewhere near the top of your script.
Or set the environment variable
DBI_PROFILE=2
See manuals for DBI::Profile and DBI::Trace.
(Found this at http://www.class-dbi.com/cgi-bin/wiki/index.cgi?SeeAllSQL)