Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I installe oracle databse 11g. I want now to connect via sql PLUS but no success

 
gaspard douo
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is my TNSNAME.ORA
I wanted to connect like this: user: SYSTEM
password: oracle (this is a password I assigned for SYSTEM and SYS during instalation)
Host string: gaspal-8049e8e4 (Is this a real Host String to use ?)
But no success.

My database is started but I cannot connect. please help.


XE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = gaspal-8049e8e4)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = XE)
)
)

EXTPROC_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = PLSExtProc)
(PRESENTATION = RO)
)
)

ORACLR_CONNECTION_DATA =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
)
(CONNECT_DATA =
(SID = CLRExtProc)
(PRESENTATION = RO)
)
)
 
sunil choudhary
Ranch Hand
Posts: 141
Java Redhat Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you try the following on the command prompt

sqlplus system/oracle@xe


whats the result you get back ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic