In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Anton Arhipov) writes: >Hi! > >I'm a starter with this subject. > >my script is: >use strict; >use DBI; > >my $dbh = DBI->connect( 'dbi:Oracle:orcl', 'blah', 'blah',)|| die >"Database connection not made: $DBI::errst >r"; >$dbh->disconnect(); > >when trying to run this i get an error: >DBI->connect(APPS1) failed: ORA-01017: invalid username/password; logon >denied (DBD ERROR: OCISessionBegin) at dbi.pl line 4 > >But my user name/password are correct, i've checked that.
How? And have you put them literally between the single quotes, or did you try escaping any characters? Does yor ORACLE_HOME environment variable point to the right place? Do you have a tnsnames.ora that designates the right Oracle nameserver? -- Peter Scott http://www.perldebugged.com/ *** NEW *** http//www.perlmedic.com/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]