Closed vbnmhjkl098 closed 8 months ago
This is not a bug! The 10g password verifier is not supported and there are no plans to support it in the future. Take a look at the password_versions
column in the dba_users
view for the user you are trying to use. If it says 10g, please change the password of the user (even to the same value) which will regenerate the password verifiers and remove the 10g verifier and replace it with 11g or 12c verifiers.
This is not a bug! The 10g password verifier is not supported and there are no plans to support it in the future. Take a look at the
password_versions
column in thedba_users
view for the user you are trying to use. If it says 10g, please change the password of the user (even to the same value) which will regenerate the password verifiers and remove the 10g verifier and replace it with 11g or 12c verifiers.
Yes, thanks, anthony. It's exactly 10g.
Great! Did you change the password and are you able to connect now?
For general reference, see the python-oracledb doc https://python-oracledb.readthedocs.io/en/latest/user_guide/troubleshooting.html#dpy-3015
Great! Did you change the password and are you able to connect now?
Yes! Thanks a lot!
What versions are you using? platform.platform: Linux-3.10.0-1160.99.1.el7.x86_64-x86_64-with-glibc2.2.5 sys.maxsize > 2**32: True platform.python_version: 3.8.14 oracledb.version: 1.4.2 Oracle Database 19c Enterprise Edition Release 19.0.0.0.0
Is it an error or a hang or a crash? Error.
What error(s) or behavior you are seeing? I'm able to execute select sql on one of my database, but on the same server, I'm not able to execute the same sql on the other database which I actually want. It's similiar to this issue: https://github.com/oracle/python-oracledb/issues/26. But it's weird because the database that I can't connect has this setting: sec_case_sensitive_logon=TRUE
Does your application call init_oracle_client()? No. I'm using thin mode.
Include a runnable Python script that shows the problem. I'm very sorry there are some unnecessary information I need to hide, I replaced them with xxx.
bash-4.25 /opt/rh/rh-python38/root/usr/bin/python3.8 insert.py --ods_db db_able_to_connect select table: select * from dis 1017 (1. 'Summer Promotion'; 9.5, datetime.datetime(2017, 5, 1, 0, 0), datetime,datetime(2017, 8, 31, 0, 0)
bash-4.25 /opt/rh/rh-python38/root/usr/bin/python3.8 insert.py --ods_db db_not_able_to_connect