oracle_day01(oracle安装与登陆细节)

一.win10安装oracle

 

1.测试是否安装成功:管理员身份打开cmd,输入sqlplus system/ldb19981008,出现以下内容

SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 9月 30 20:16:41 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL>
PS C:\WINDOWS\system32> SQLplus system/ldb19981008@localhost:1521/orcl

SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 9月 30 20:49:03 2019

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

 

2.下载PL/SQL Development,如何登陆:

(1)修改tnsnames.ora文件,修改IP地址为本机地址

ORCL10 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.5.85.3)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

(2)设置环境变量:新建系统变量ANS_ADMIN

(3)将文件夹instantclient_12_1拷贝到与tnsnames文件相同路径

(4)以管理员身份运行该软件(plsqldev.exe),登陆即可

上一篇:clientdataset生成sql


下一篇:在生产JavaScript代码中留下“console.log()”调用的好主意?