Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Report Application Name to Enterprise Manager via DBI

by dba (Monk)
on Jun 10, 2004 at 14:46 UTC ( #363089=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://363089]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (1)
As of 2021-09-27 22:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?