Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> ORA-01004: default username feature not supported in Perl

ORA-01004: default username feature not supported in Perl

From: Shawn Shiwei Qiu <sqiu_at_ans.net>
Date: Wed, 1 Aug 2001 14:11:36 -0400
Message-ID: <2xX97.2$2y6.28@news.aa.ans.net>

 With Oracle 8.1.6 (Solaris 2.6 sparc) I don't have problem to logon as  external user "/" in sqlplus. However when I tried to logon in same way from
 Perl, I got error (we don't have sqlnet.ora file at all).:

 DBI->connect failed: ORA-01004: default username feature not supported;  logon
 denied (DBD ERROR: OCISessionBegin) at p.pl line 6  Connect Error

 This the source code is:

 #!/usr/local/bin/perl
 use DBI;
 $dbHandle = DBI->connect('dbi:Oracle:ustatsam','/');  if(!defined $dbHandle)
 {
 die "Connect Error\n";
 }

 I tried also set sqlnet.authentication_services=(none) in sqlnet.ora and it  did
 not work either (even sqlplus / didn't work !).

 Does it mean Perl doesn't support Oracle external user like "/" Received on Wed Aug 01 2001 - 13:11:36 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US