Hi,
I'm trying to connect to a database and not sure what I'm doing wrong. I changed the tnsnames.ora file and moved it to oracle\ora92\network\ADMIN
Can I just open up SQL Plus and it will directly connect me to this database? Do I need to do anything else?
When I run SQL Plus, it just freezes up.
Here is the only info that I have eg.
Host=214.104.147.212
SID=JAM
I have username and pwd
Here is what I've done to the tnsnames.ora file
DJAM= [ (DESCRIPTION_LIST =
(DESCRIPTION=
[ (SDU=2048) ]
[ (ADDRESS_LIST=
(ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=214.104.147.212)
(PORT=1521)
)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=PNPKEY)
)
]
[ (ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=decnet)
(NODE=<nodename>)
(OBJECT=<objectname>)
)
]
... # More addresses
[ ) ]
[ (CONNECT_DATA=
(SID=JAM)
[ (GLOBAL_NAME=<global_database_name>) ]
)
]
[ (SOURCE_ROUTE=yes) ]
)
Any help would be great
THANKS
" ahhh computers, how they made our lives much simpler "
I'm trying to connect to a database and not sure what I'm doing wrong. I changed the tnsnames.ora file and moved it to oracle\ora92\network\ADMIN
Can I just open up SQL Plus and it will directly connect me to this database? Do I need to do anything else?
When I run SQL Plus, it just freezes up.
Here is the only info that I have eg.
Host=214.104.147.212
SID=JAM
I have username and pwd
Here is what I've done to the tnsnames.ora file
DJAM= [ (DESCRIPTION_LIST =
(DESCRIPTION=
[ (SDU=2048) ]
[ (ADDRESS_LIST=
(ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=tcp)
(HOST=214.104.147.212)
(PORT=1521)
)
[ (ADDRESS=
(PROTOCOL=ipc)
(KEY=PNPKEY)
)
]
[ (ADDRESS=
[ (COMMUNITY=<community_name>) ]
(PROTOCOL=decnet)
(NODE=<nodename>)
(OBJECT=<objectname>)
)
]
... # More addresses
[ ) ]
[ (CONNECT_DATA=
(SID=JAM)
[ (GLOBAL_NAME=<global_database_name>) ]
)
]
[ (SOURCE_ROUTE=yes) ]
)
Any help would be great
THANKS
" ahhh computers, how they made our lives much simpler "