instantclient

cx_Oracle.DatabaseError: ORA-12170: TNS:Connect timeout occurred

依然范特西╮ 提交于 2021-01-28 11:11:53
问题 I am getting cx_Oracle.DatabaseError: ORA-12170: TNS:Connect timeout occurred error while connecting oracle from python. I have installed python 3.7.0 and instantclient_11_2. Below are the process i am doing, import cx_Oracle dsn_tns = cx_Oracle.makedsn( '<ip>', 1521, service_name = '<given service name>') connection = cx_Oracle.connect('user', 'pwd', dsn_tns) I have set system veriable PATH where oci.dll is present. What could be wrong? 回答1: Try: connection = cx_Oracle.connect('user', 'pwd',

How to get Sqldeveloper 19.1 64-bit working with instantclient_12_2 on Windows enterprise PC without admin privileges?

徘徊边缘 提交于 2020-01-21 10:25:27
问题 I've installed Sqldeveloper Version 19.1 64-bit Version on an enterprise PC with Win7-64bit. It works fine with embedded jdbc-client, but I need to get it working using the Oracle OCI-client. Using an OCI-client (thick-driver) requires for sure a client like instantclient_12_2. I have no admin privileges on my workstation and so copied the full instantclient_12_2 to the enterprise PC. Since I'm not allowed to change the %PATH% myself, I created a start.bat file with required settings, because

Oracle instant client : ORA-28759: failure to open file

拈花ヽ惹草 提交于 2020-01-13 16:18:05
问题 What i have: red hat 6 server, remote Oracle Database with TCPS connection setup, installed oracle instant client (basic, odbc, sqlplus) from rpms. I'm trying to set up oracle instant client to connect to a remote database . While entering command : /usr/lib/oracle/11.2/client64/bin/sqlplus /@AVAYAPDSDB I get the error: SQL*Plus: Release 11.2.0.4.0 Production on Sat Aug 29 12:04:39 2015 Copyright (c) 1982, 2013, Oracle. All rights reserved. ERROR: ORA-28759: failure to open file Unfortunately

How to fix cx_Oracle: DLL load failed?

混江龙づ霸主 提交于 2020-01-07 03:06:20
问题 There are so many related questions that I have gone through which made me wonder how come this is such a prevalent issue? Anyways, I am trying to use cx_Oracle module . I have the : instant client: instantclient-basic-win32-11.1.0.6.0.zip python - 3.4 cx_Oracle - cx_Oracle-5.2-11g.win32-py3.4.exe I have set up Path as well as the ORACLE_HOME variables. Why is that I still get this error? Edit : I tried installing cx_oracle again, but this time through install command on the setup.py instead

cx_oracle OSX install error

情到浓时终转凉″ 提交于 2020-01-05 23:28:39
问题 So I followed these directions here to install Oracle InstantClient, installing Oracle Instantclient on Mac OS/X without setting environment variables? But when I try to install cx_oracle I get the following stack trace, python setup.py build running build running build_ext building 'cx_Oracle' extension creating build creating build/temp.macosx-10.6-universal-2.6-10g gcc-4.2 -fno-strict-aliasing -fno-common -dynamic -DNDEBUG -g -fwrapv -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386

Excel VBA connect to remote Oracle DB with InstantClient

余生颓废 提交于 2020-01-01 03:47:07
问题 I am trying to use Excel (mainly 2003, for more user compatibility) to connect to a remote Oracle DB. I would like to run a .sql script and return the dataset to a worksheet. I am on a Windows 7 64bit machine. I do not know the specs of the Oracle DB server. I would like to keep this as lightweight as possible (no extra file installations on client machines, use shared network locations for required files as much as possible) So Far: I downloaded and "installed" the InstantClient from Oracle

Tell me how to access OracleDB from Raspberry Pi through QUERY [duplicate]

眉间皱痕 提交于 2019-12-25 02:47:24
问题 This question already has answers here : Raspberry pi No module named 'cx_Oracle' (2 answers) Closed 2 months ago . The problem is the link between raspberry pie and Oracle database. We've tried a lot of things now, but the problem isn't solved. After downloading the oracleinstantclient-32bit Basic files and sqlplus files via the web from the raspberry pie, unpack the file collection and set the absolute path export LD_LIBRARY_PATH and PATH as well. But always: cx_Oracle.DatabaseError: DPI

Oracle: what is the “instantclient” connection string format?

怎甘沉沦 提交于 2019-12-19 19:55:49
问题 and how does it differ from the regular connection string? 回答1: Connecting with the instant client is no different than with the full stack client - all connect string formats are the same. If you installed the instant client in a non-standard location on the filesystem or are having problems connecting to the database listener, be sure that your TNS_ADMIN environment points to the directory that contains your tnsnames.ora and sqlnet.ora files, 回答2: Here is a comprehensive list of connection

installing Oracle Instantclient on Mac OS/X without setting environment variables?

﹥>﹥吖頭↗ 提交于 2019-12-17 15:38:39
问题 Oracle's instructions specify setting DYLD_LIBRARY_PATH. This makes my application dependent on random users' configuration and is very troublesome to set up. How can I avoid having to set any environment variables? http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/intel_macsoft.html related note for linux: installing Oracle Instantclient on Linux without setting environment variables? 回答1: Oracle's instantclient installation instructions specify that the user set DYLD

oci8, php7 and Oracle 10.1 compatibility

风格不统一 提交于 2019-12-12 19:15:26
问题 I have to upgrade a system from php5.6 to php7.2 . The system uses an oracle 10.1 database. Now I tried to collect all infos but am still confused about the compatibility between php , oci8 , instant client and the database. I read, that with php7 I have to at least install oci8 2.1 , but this doesn't work with oracle 10.1 . Is that correct? Or is it possible to run php7 with oracle 10.1 ? Please enlighten me :) 回答1: I read, that with php7 I have to at least install oci8 2.1, but this doesn't