• ORACLE--安装与创建


    1、Oracle数据库安装

    参考博客:Oracle 11g数据库详细安装步骤图解

    2、Oracle数据库创建

    参考博客: oracle入门很简单:二、创建oracle数据库

    参考博客:系列文章--oracle简单入门教程

    3、“ORA-12505, TNS:listener does not currently know of SID given in connect descriptor ”错误解决

    D:appAdministratorproduct11.2.0dbhome_1NETWORKADMIN 下的LISTENER.ORA文件、sqlnet.ora文件、tnsnames.ora文件

    分别如下:

    复制代码
    LISTENER.ORA

    # listener.ora Network Configuration File: D:appAdministratorproduct11.2.0dbhome_1 etworkadminlistener.ora # Generated by Oracle configuration tools. SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (SID_NAME = CLRExtProc) (ORACLE_HOME = D:appAdministratorproduct11.2.0dbhome_1) (PROGRAM = extproc) (ENVS = "EXTPROC_DLLS=ONLY:D:appAdministratorproduct11.2.0dbhome_1inoraclr11.dll") ) ) LISTENER = (DESCRIPTION_LIST = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-S5391DLPF32)(PORT = 1521)) ) ) ADR_BASE_LISTENER = D:appAdministrator
    复制代码
    复制代码
    sqlnet.ora

    # sqlnet.ora Network Configuration File: d:Oracleproduct11.2.0dbhome_1 etworkadminsqlnet.ora # Generated by Oracle configuration tools. # This file is actually generated by netca. But if customers choose to # install "Software Only", this file wont exist and without the native # authentication, they will not be able to connect to the database on NT. SQLNET.AUTHENTICATION_SERVICES= (NTS) NAMES.DIRECTORY_PATH= (TNSNAMES, EZCONNECT)
    复制代码
    复制代码
    tnsnames.ora

    # tnsnames.ora Network Configuration File: d:Oracleproduct11.2.0dbhome_1 etworkadmin nsnames.ora # Generated by Oracle configuration tools. ORACLR_CONNECTION_DATA = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521)) ) (CONNECT_DATA = (SID = CLRExtProc) (PRESENTATION = RO) ) ) ORCL = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = WIN-S5391DLPF32)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl) ) )
    复制代码
  • 相关阅读:
    与(&,&&)和或(|,||)的区别
    vue笔记(更新中)
    echarts实现心脏图的滚动三种实现方法
    生成四则运算
    软件工程第四次作业
    软件工程第三次作业
    软件工程第二次作业
    软件工程第一次作业
    前端优化
    关于事件监听
  • 原文地址:https://www.cnblogs.com/wwwcnblogscom/p/8327870.html
Copyright © 2020-2023  润新知