tnsnames

SqlDeveloper: clear network alias list

泪湿孤枕 提交于 2019-12-07 14:48:15
问题 I use sql-developer to connect to several different oracle databases with several different users. The connection info is kept in a tnsnames.ora file so that when a database changes servers, I don't have to manually update all my connections to it. I recently updated my tnsnames file, and now there are 2 entries in the network alias list for each one that should be there. The 2nd entry appears to work (IE passes the test when I test the connection). However, by default, it seems to choose the

RODBC connectivity to Oracle without tnsnames.ora

懵懂的女人 提交于 2019-12-07 12:55:07
问题 I am trying to connect to Oracle from R using RODBC without using tnsnanes.ora. I have tried following strings, but none of them are working. > con.text <- paste0("Driver={OracleODBC-11g};Dbq=//oracle.server:1527/database.pdw.prod;Uid=user;Pwd=pswd;") > con.text <- paste0("Driver={OracleODBC-11g}; ", "CONNECTSTRING=(DESCRIPTION=(ADDRESS= (PROTOCOL = TCP)(HOST = oracle.server)(PORT = 1527))(CONNECT_DATA=(SERVICE_NAME = database.pdw.prod))); uid=user;pwd=pswd;") > con.text <- paste0("Driver=",

What options are available for connecting to a Microsoft SQL Server database from an Oracle database?

拟墨画扇 提交于 2019-12-06 22:17:42
At the moment I pull data from remote MS SQL Server databases using custom-built JDBC connectors. This works fine but doesn't feel like the way to do it. I feel I should be able to put a JDBC connection string into tnsnames on the server and have it "just work". I've looked around a little for this functionality but it doesn't seem to be there. In this way I could connect to pretty much any database just using a database link. Have I missed something? It looks like the two options are Generic Connectivity and Oracle Gateways but I'm surprised that's all there is. Generic Connectivity comes

Connecting to a remote Oracle DB with Nodejs through Oracledb Driver

梦想与她 提交于 2019-12-06 12:07:33
Hey I'm really trying to figure out how to connect to a remote Oracle test DB and I have no experience in Java. So if I could get your help, I would be forever grateful. I have a remote test database I'm trying to connect to and I have a jdbc connection with an old style SID. According to this link: https://github.com/oracle/node-oracledb/blob/master/doc/api.md#notjdbc , I'm supposed to create a tnsnames.ora file to put the connection in, like so: tnsnames.ora: appDB = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = hostname)(PORT = 1521)) (CONNECT_DATA = (SID = ORCL) ) ) and then I'm

RODBC connectivity to Oracle without tnsnames.ora

大憨熊 提交于 2019-12-05 23:07:55
I am trying to connect to Oracle from R using RODBC without using tnsnanes.ora. I have tried following strings, but none of them are working. > con.text <- paste0("Driver={OracleODBC-11g};Dbq=//oracle.server:1527/database.pdw.prod;Uid=user;Pwd=pswd;") > con.text <- paste0("Driver={OracleODBC-11g}; ", "CONNECTSTRING=(DESCRIPTION=(ADDRESS= (PROTOCOL = TCP)(HOST = oracle.server)(PORT = 1527))(CONNECT_DATA=(SERVICE_NAME = database.pdw.prod))); uid=user;pwd=pswd;") > con.text <- paste0("Driver=", "OracleODBC-11g" , ";Server=", "oracle.server" , ";Database=", "database.pdw.prod" , ";Uid=", "user" ,

ODBC Administrator Can't Find Oracle TNS Names File

半城伤御伤魂 提交于 2019-12-04 18:43:27
问题 With a new Oracle Installation when I go to Configuration Management Tools > Microsoft ODBC Administrator > System DSN > Add > [new installation] it does not have the TNSNAMES.ora connection name in the drop down. With the old installation, this had worked. I've tried updating Environment Paths and Registry keys but still can't find a way to get ODBC to see it in the drop down. There was a previous installation of Oracle Client on the Windows Server. I tried to remove most of the files but

Oracle PL Sql Developer cannot find my tnsnames.ora file

自闭症网瘾萝莉.ら 提交于 2019-12-04 18:41:19
问题 I have an Oracle tnsnames.ora file from my previous workplace. I want to pick it up with my newly installed PL SQL Developer on another computer. I have copied the file into ..ORACLE/product/11.2.0/client_32/NETWORK/ADMIN but PL SQL Developer cannot find it. When it starts it is not showing me any choice of database. In About->i->TNSNames I dont see any lines I have found a number of advices to look for it in Tools->Preferences->Database->..., but I dont have a Database tab in my preferences.

How can I configure my Oracle tnsnames file location? [closed]

南笙酒味 提交于 2019-12-04 16:27:04
I have Oracle 10g installed on Windows. Currently, my tnsnames file is stored at %ORACLEHOME%\network\admin. However, I want to configure Oracle to look somewhere else for that file. How can I do this? Andrew L You can use the TNS_ADMIN environment variable to specify a custom location of TNSNAMES.ORA file. Check this wiki: http://www.orafaq.com/wiki/TNS_ADMIN 来源: https://stackoverflow.com/questions/5568342/how-can-i-configure-my-oracle-tnsnames-file-location

ODBC Administrator Can't Find Oracle TNS Names File

隐身守侯 提交于 2019-12-03 12:14:28
With a new Oracle Installation when I go to Configuration Management Tools > Microsoft ODBC Administrator > System DSN > Add > [new installation] it does not have the TNSNAMES.ora connection name in the drop down. With the old installation, this had worked. I've tried updating Environment Paths and Registry keys but still can't find a way to get ODBC to see it in the drop down. There was a previous installation of Oracle Client on the Windows Server. I tried to remove most of the files but our Oracle DBA said we could just do another install and update the Environment Paths with the new

Oracle PL Sql Developer cannot find my tnsnames.ora file

匆匆过客 提交于 2019-12-03 11:56:19
I have an Oracle tnsnames.ora file from my previous workplace. I want to pick it up with my newly installed PL SQL Developer on another computer. I have copied the file into ..ORACLE/product/11.2.0/client_32/NETWORK/ADMIN but PL SQL Developer cannot find it. When it starts it is not showing me any choice of database. In About->i->TNSNames I dont see any lines I have found a number of advices to look for it in Tools->Preferences->Database->..., but I dont have a Database tab in my preferences. How can I fix it? If you are certain your tnsnames.ora file is correct (eg by testing the connection