Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: DBD::Sybase with Repserver and password encryption

by Anonymous Monk
on May 20, 2020 at 12:23 UTC ( #11116981=note: print w/replies, xml ) Need Help??


in reply to DBD::Sybase with Repserver and password encryption

Updated example code

use strict; use warnings; use DBI; use DBD::Sybase; my $server="MY_REPSERVER"; my $user="reserv_user"; my $pass="welcome"; my $DbiTarget="dbi:Sybase:server=$server"; $DbiTarget .= ";encryptPassword=1"; my $dbh = DBI->connect($DbiTarget, $user, $pass); my $sth = $dbh->prepare("Admin who_is_down"); $sth->execute;

Replies are listed 'Best First'.
Re^2: DBD::Sybase with Repserver and password encryption
by Anonymous Monk on May 20, 2020 at 14:10 UTC
    ... which doesn't work, yes?

      That is correct

      If this line is commented out then it works

       $DbiTarget .= ";encryptPassword=1";
      A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-03-05 01:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (108 votes). Check out past polls.

    Notices?