Oracle11g 如何连接到我刚刚安装在笔记本电脑中的Oracle 11g?

Oracle11g 如何连接到我刚刚安装在笔记本电脑中的Oracle 11g?,oracle11g,Oracle11g,现在,我的问题是,我应该在SqlDeveloper的这个对话框中写什么 而且,看起来我忘记了我的用户名。您应该输入以下内容: 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.

现在,我的问题是,我应该在SqlDeveloper的这个对话框中写什么


而且,看起来我忘记了我的用户名。

您应该输入以下内容:

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>
如果您尚未激活任何用户,并且希望以sys身份登录,则

hostname: localhost
Port: 1521
SID: orcl

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

以sys身份登录后,您可以激活其他用户。

您应该输入以下内容:

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>
如果您尚未激活任何用户,并且希望以sys身份登录,则

hostname: localhost
Port: 1521
SID: orcl

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

一旦您以sys身份登录,就可以激活其他用户。

因此,连接名称是您想要为连接添加“书签”的任何内容;对于用户名密码,您应该尝试用谷歌搜索“
oracle11g默认用户和密码
”,或者这是您在安装oracle11g时选择的主机名:因此,如果您在同一台计算机上运行,那么它就是本地主机端口写在日志文本中,去搜索它SID:老实说,我不知道它是什么,但我会让它变得简单,它是
orcl


下次尝试一下谷歌。干杯

因此,连接名是您想要为连接“添加书签”的任何内容;对于用户名密码,您应该尝试用谷歌搜索“
oracle11g默认用户和密码
”,或者这是您在安装oracle11g时选择的主机名:因此,如果您在同一台计算机上运行,那么它就是本地主机端口写在日志文本中,去搜索它SID:老实说,我不知道它是什么,但我会让它变得简单,它是
orcl


下次尝试一下谷歌。干杯

我不想听起来很粗鲁,但你可以在第一次谷歌搜索中找到一个很好的链接:)

我与你分享同样的链接。请仔细阅读,以便完全理解-


我不想听起来粗鲁,但你可以在第一次谷歌搜索中找到一个非常好的链接:)

我与你分享同样的链接。请仔细阅读,以便完全理解-