http://www.perlmonks.org?node_id=363089


in reply to Report Application Name to Enterprise Manager via DBI

You may have to tweak the source code and add your attribute in the connect sub
package DBD::mSQL::dr; # ====== DRIVER ====== use strict; sub connect { my($drh, $dsn, $username, $password, $attrhash) = @_; my($port); my($cWarn); # Avoid warnings for undefined values $username ||= ''; $password ||= ''; # create a 'blank' dbh my($this, $privateAttrHash); $privateAttrHash = { 'Name' => $dsn, 'user' => $username, 'password' => $password, # here ? };

Replies are listed 'Best First'.
Re^2: Report Application Name to Enterprise Manager via DBI
by Grygonos (Chaplain) on Jun 11, 2004 at 12:57 UTC

    This was one of the earlier methods I attempted. I couldn't get it to work, although it seemed plausible. I don't know if it's completely impossible, but I couldn't manage it. The solution I listed in the original post does work however.