RE: [PEAR] DB -> passwort problem with oracle

From: Date: Fri, 11 Jul 2003 10:25:11 +0000
Subject: RE: [PEAR] DB -> passwort problem with oracle
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6562@lists.php.net to get a copy of this message
Where can I set the options array? If I set the type in the connect string: $db1 = DB::connect($dsn1, array('persistent' => true, 'optimize' => 'portability', 'cryptType' => 'none')); I get the Error: DB Error: unknown option cryptType thanX Dirk -----Original Message----- From: Jeroen Houben [mailto:jeroen@terena.nl] Sent: Freitag, 11. Juli 2003 11:32 To: Labes Dirk Cc: pear-general@lists.php.net Subject: Re: [PEAR] DB -> passwort problem with oracle Hi, have you set the right encryption type? By default it uses md5 IIRC, so if you store your passwords using some other encryption type or just plain text, it won't work. You can set the encryption type in the options array: 'cryptType' => 'none' HTH Jeroen Labes Dirk wrote: >Hi, > >thereis a "=" and a "+" in my passwort. > >I try the following: > >$user1 = "*****"; >$host1 = "*****"; >$pass1 = '+***=**'; >$dsn1 = "oci8://$user1:$pass1@$host1"; >$db1 = DB::connect($dsn1, array('persistent' => true, 'optimize' => >'portability')); > >I get: > >Database Error: >DB Error: connect failed >[nativecode=ORA-01017: invalid username/password; logon denied ] > >But the password is correct. >What's wrong??? > >greetings >Dirk > > >P.S. I can't change the password > > > -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.pear.general (#6562) next »