Hi, I'm a total beginner to Oracle, so forgive me if this is a really easy question to answer, but...
I've recently started a web site job where I've been given Oracle as the database to use with it. Now, I can telnet in to the system and use SQLPLUS from there, but I'd much rather use something a lot more user friendly- this being where the Instant Client comes in.
I've installed it (well, extracted it to c:\instantclient) and set environment variables PATH and SQLPATH to that location.. Then I tried connecting to the database, but it didn't work at all- one e-mail to them later and I was given the following for a "tnsnames.ora" file:
Quote:
trdb.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = TCP.world)
(PROTOCOL = TCP)
(Host = <my host>)
(Port = 1521)
)
)
(CONNECT_DATA =
(SID = trdb)
(GLOBAL_NAME = trdb.world)
)
)
|
But when I run SQLPLUS with no arguments it says:
Quote:
ERROR:ORA-12560: TNS rotocol adapter error
|
And if I try to run sqlplus asuwww/<password>@<host>, it tells me:
Quote:
|
ORA-12514: TNS:listener does not currently know of service requested in connect
|
Anyone got any idea what I'm doing wrong here?!
Cheers!