2016-01-19 63 views
0
Microsoft Windows [Version 6.1.7601] 
Copyright (c) 2009 Microsoft Corporation. All rights reserved. 

C:\Users\my_laptop_name>lsnrctl status 

LSNRCTL for 32-bit Windows: Version 11.2.0.1.0 - Production on 19-JAN-2016 02:57 
:19 

Copyright (c) 1991, 2010, Oracle. All rights reserved. 

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521)) 
STATUS of the LISTENER 
------------------------ 
Alias      LISTENER 
Version     TNSLSNR for 32-bit Windows: Version 11.2.0.1.0 - Produ 
ction 
Start Date    19-JAN-2016 02:35:39 
Uptime     0 days 0 hr. 21 min. 41 sec 
Trace Level    off 
Security     ON: Local OS Authentication 
SNMP      OFF 
Listener Log File   g:\app\my_laptop_name\diag\tnslsnr\my_laptop_name-laptop\listener\ 
alert\log.xml 
Listening Endpoints Summary... 
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=my_laptop_name-laptop)(PORT=1521))) 
Services Summary... 
Service "orcl.2.12.151" has 1 instance(s). 
    Instance "orcl", status READY, has 1 handler(s) for this service... 
Service "orclXDB.2.12.151" has 1 instance(s). 
    Instance "orcl", status READY, has 1 handler(s) for this service... 
The command completed successfully 

C:\Users\my_laptop_name> 

現在,我的問題是,我應該在SqlDeveloper的這個對話框中寫什麼?如何連接到我剛安裝在筆記本電腦上的Oracle 11g?

enter image description here

而且,還貌似我忘記了用戶名。一旦你登錄爲SYS

hostname: localhost 
Port: 1521 
SID: orcl 

Username: whatever user you activated. Did you activate hr? 
Password: password you supplied 

如果您還沒有激活任何用戶,到目前爲止,要登錄爲對稱,然後

username: sys as sysdba password: specify password you selected for sys 

回答

1

您應該輸入以下,你可以激活其他用戶。

1

因此,連接名稱是任何你想「書籤」的連接;爲用戶名密碼你應該嘗試谷歌「oracle11g default user and password」或它是你選擇安裝oracle11g時; 主機名:所以如果你在同一臺機器上運行它的localhost; 端口是寫在那個日誌文本中,去搜索它; SID:說實話,我不知道它是什麼,但我會在這一個,這是orcl容易。

下一次嘗試給谷歌嘗試。乾杯

相關問題