#34669 [Opn->Fbk]: Report wrong password when NLS_LANG setting to "KOREAN_KOREA.KO16KSC5601"
ID: 34669
Updated by: tony2001@php.net
Reported By: guoyf at globalsources dot com
-Status: Open
+Status: Feedback
Bug Type: OCI8 related
Operating System: Linux 2.4.21
PHP Version: 4.4.0
New Comment:
Please try latest OCI8 from PECL: http://pecl.php.net/package/oci8
Previous Comments:
------------------------------------------------------------------------
[2005-09-28 11:28:30] guoyf at globalsources dot com
Description:
------------
My Oracle is UTF8 charset. I setup NLS_LANG in apactl of my apache to
get Korea charset. The NLS_LANG is set to
NLS_LANG=KOREAN_KOREA.KO16KSC5601. When I restart apache, and use
pconnect to connect to oracle. Oracle report: invalid user name or
password. Of course the password is correct. Try to set the NLS_LANG to
NLS_LANG=AMERICAN_AMERICA.KO16KSC5601 and it wil be okay.
Reproduce code:
---------------
OCIPLogon("scott","tiger","mydev");
Expected result:
----------------
Connect succesfully
Actual result:
--------------
Report invalid user name or password
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34669&edit=1
Thread (2 messages)