![](/img/trans.png)
[英]How to pass table type in oracle using python(cx_oracle or oracledb)
我想使用 python 在 call_proc 中傳遞表類型。 但是我在運行時遇到錯誤。 我的代碼 ...
[英]How to pass table type in oracle using python(cx_oracle or oracledb)
我想使用 python 在 call_proc 中傳遞表類型。 但是我在運行時遇到錯誤。 我的代碼 ...
[英]python-oracledb thin client returns DPY-6005
我正在嘗試使用 Python 連接到 21c ATP 和 19c ADP(免費套餐,ACL 啟用/配置為“我的地址”,啟用 TLS(mTLS 設置為“不需要”),連接字符串包含“ssl_server_dn_match=yes”)瘦客戶端,但在建立連接或設置連接池時,我得到: 環境: 數據庫:ATP ...
[英]NoSuchModuleError: Can't load plugin: sqlalchemy.dialects:oracle.oracledb
當我嘗試將 oracle 服務器與 SQLAlchemy 連接時。出現此錯誤。 NoSuchModuleError:無法加載插件:sqlalchemy.dialects:oracle.oracledb 任何不同的連接方法? ...
[英]How to reuse bind variables in oracledb-python?
我正在嘗試使用以下查詢進行更新插入,但我收到oracledb.exceptions.DatabaseError: DPY-4009: 11 positional bind values are required but 5 were provided 。 這意味着我無法重用我的綁定變量。UPDAT ...
[英]DPY-3015: password verifier type 09X939 is not supported by python-oracledb in thin mode
我正在嘗試連接 python 和 oracle 數據庫,但由於沒有互聯網連接,我無法下載任何客戶端。 我為此使用 oracledb,但出現此錯誤。 關於如何在不降低任何東西的情況下解決它的任何線索? 謝謝! ...
[英]Error Connecting virtual machine to oracle, using python (error DPY-4011)
我正在使用 oracledb 庫將我的 python 應用程序連接到 oracle 數據庫。 我可以在我的計算機上使用 python 正常連接,但是我有一個虛擬機,運行 Ubuntu,它與計算機使用相同的網絡,無法連接。 這是我嘗試時的 output: Python:3.8.10 Oracle ...
[英]Why is it necessary to establish a tnsnames.ora file prior to running a python-oracledb query?
使用 cx_Oracle (8.3.0) 時,只需這行代碼即可輕松連接到 Oracle DB: 當我換掉 oracledb 模塊 (1.0.2) 時,出現錯誤: 在研究這一點時,我發現了這篇文章: With python-oracledb what does 'DPY-4027: no confi ...
[英]Using python-oracledb / cx_oracle to connect to AWS RDS Oracle with TLS
我正在嘗試使用Python oracledb 庫(cx_oracle 的繼任者)使用 TLS 從 AWS Lambda 連接到 RDS Oracle。 我可能想做雙向 TLS,但即使是單向 TLS 也可以。 我可以使用一些幫助。 我可以做什么: 我可以在本地 PC 上使用帶有 SQL Dev ...
[英]Connect to Oracle Cloud Database with python oracledb
我正在嘗試連接到 Oracle Cloud 中新創建的數據庫( https://cloud.oracle.com/db/adb/ ) 我已經從 DB Connection > Connection Strings > 復制了連接字符串(列出的三個之一。) 看起來有點像這樣: 我正 ...
[英]python-oracledb (new cx_Oracle) connection generating NotSupportedError DPY-3012 errors
所以我正在嘗試新的 oracledb python 庫,它取代了 cx_oracle - 因為我不想安裝 oracle 即時客戶端。 我只是得到這個: 文件 C:\ProgramData\Anaconda3\envs\ariel\lib\site-packages\oracledb\err ...
[英]Does python-oracledb thin mode have any performance implications compared to the thick mode?
在 2022 年 5 月的版本中,cx_Oracle 已重命名為 python-oracledb。 它現在有兩種模式,薄和厚。 厚模式使用 Oracle 客戶端庫連接到 Oracle,而精簡模式可以直接連接。 cx_Oracle 以前總是需要使用 Oracle 客戶端庫。 使用精簡模式而不是厚模 ...
[英]Why can I not connect to my Oracle Cloud ADB with python-oracledb?
我在我的 Always Free Oracle ADB 上使用 Python 3.9.13 cx_Oracle 沒有問題。 現在我正在嘗試與 Oracle ADB 上的 python-oracledb 連接但沒有成功: sqlplus -l admin@' tcps://adb.eu-frank ...
[英]With python-oracledb what does 'DPY-4027: no configuration directory to search for tnsnames.ora' mean
使用python-oracledb驅動程序的代碼: 給出錯誤: 第二種情況也會出現同樣的錯誤: 有了這個: 這是什么意思? ...
[英]What does "TypeError: connect() got multiple values for argument 'dsn'" with python-oracledb mean?
python-oracledb代碼: 失敗並出現錯誤: 我該如何解決? 更新:在 python 1.0.0 中,錯誤是TypeError: wrapped() got multiple values for argument 'dsn'在 1.0.1 中, wrapped()被應用程序代 ...
[英]What does 'TypeError: connect() takes from 0 to 1 positional arguments but 3 were given' with python-oracledb 1.0 mean?
python-oracledb 1.0 代碼: 給出錯誤: 創建連接池時出現同樣的錯誤: 或者 我該如何解決? [更新:在 python-oracledb 1.0.0 中,消息以“TypeError:wrapped() take ...”開頭。 在 1.0.1 版中,“已包裝” ...
[英]What does 'DPY-6005: cannot connect to database. Connection failed with "[Errno 61] Connection refused"' mean with python-oracledb
在帶有 Python 3.9.6 的 macOS 上,使用 Oracle 的python-oracledb 驅動程序的 Python 代碼: 給出錯誤: 在 Linux 上,錯誤類似於: 這些是什么意思? [更新:在 python-oracledb 1.0.1 中,錯誤包含在 DPY ...
[英]What does 'nodename nor servname provided, or not known' mean with python-oracledb?
例如,使用 Python 3.9.6 並在python-oracledb的默認“瘦”模式下連接或創建連接池: 在 macOS 上出現此錯誤: 在 Linux 上,錯誤略有不同: 這是什么意思? ...
[英]What does 'DPY-6001: cannot connect to database' mean with python-oracledb?
使用使用python-oracledb驅動程序的 Python 代碼: 這個錯誤信息是什么意思? ...
[英]Error DPY-3010 when connecting python-oracledb to Oracle DB 11.2
如果您嘗試使用python-oracledb的默認“瘦”模式連接到 Oracle 數據庫 11.2,您將收到錯誤消息: 如何連接到這個舊版本的 Oracle 數據庫? ...
[英]Does python-oracledb use the sqlnet.ora file?
Oracle 數據庫的應用層 sqlnet.ora 文件中的屬性是否會被 Oracle 的新python-oracledb驅動程序使用? 這個可選的 Oracle 網絡服務文件可以配置各種連接屬性,包括跟蹤、連接超時、保活時間和網絡加密。 例如,如果 sqlnet.ora 包含這個,會有什么行為? ...