Redian新闻
>
Help: Perl DBI to access oracle
avatar
Help: Perl DBI to access oracle# Database - 数据库
y*r
1
I need help with accessing Oracle (Solaris) thru perl DBI. Any suggestions are
appreciated. Here is the description.
Oracle to be accessed uses kerberos authentication (via Operating System,
Solaris here). I need to use Perl DBI to query the DB. I can access the DB
using DBI for non-kerberos users (see the following test program) but could
not do it for kerberos users (what arguments should I pass in to connect?).
Any one can give me suggestions? Thanks.
The test program
#!/usr/local/bin/perl5 -
avatar
x*u
2
If it is an operation system authentication, then you need not and
should not use password.
My suggestion is
...
$dbh = DBI->connect($data_source, "user", "")
...

are

【在 y*********r 的大作中提到】
: I need help with accessing Oracle (Solaris) thru perl DBI. Any suggestions are
: appreciated. Here is the description.
: Oracle to be accessed uses kerberos authentication (via Operating System,
: Solaris here). I need to use Perl DBI to query the DB. I can access the DB
: using DBI for non-kerberos users (see the following test program) but could
: not do it for kerberos users (what arguments should I pass in to connect?).
: Any one can give me suggestions? Thanks.
: The test program
: #!/usr/local/bin/perl5 -

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。