i need to connect to a oracle database available in a remote PC (reachable from the host solaris server). I have added the tnsnames of that remote DB in to the tnsnames.ora file of the host solaris server.
Am able to ping that IP. How do i connect to that DB for running sql queries....That remote PC does not have telnet or ssh options.....
---------- Post updated at 06:00 PM ---------- Previous update was at 05:02 PM ----------
am able to CONNECT through windows pc by the following method....but not succeeded in Solaris server.
C:\Documents and Settings\Administrator>sqlplus scott/tiger@"(DESCRIPTION=(
ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=x.x.x.x)(PORT = 1521)))(CONNECT_D
ATA=(SERVICE_NAME=IMS)))"
SQL*Plus: Release 9.0.1.0.1 - Production on Thu Jan 21 17:28:27 2010
(c) Copyright 2001 Oracle Corporation. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL>
Can you please post the entry u have in tnsnames.ora as its a generic error
TNS-03505
The specified database name was not found in the tnsnames.ora, onames or ldap. This means that the client hasn't even got as far as trying to make contact with a server - it simply can't find any record of the database that you are trying to connect to. Make sure that you've spelled the database name correctly, and that it has an entry in the tnsnames.ora.
If you have a sqlnet.ora, look at for the setting NAMES.DEFAULT_DOMAIN. If it is set, then all entries in your tnsnames.ora must have a matching domain suffix