Home >Database >Mysql Tutorial >oracle手动配置数据库

oracle手动配置数据库

WBOY
WBOYOriginal
2016-06-07 15:20:091124browse

今天在连接服务器端的oracle时总是报错,后来更改了配置文件可以了,记录一下很简单的过程。 D:\app\orcl\product\11.2.0\dbhome_1\NETWORK\ADMIN在此路径下打开tnsnames.ora文件,添加访问服务 LIN = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL

今天在连接服务器端的oracle时总是报错,后来更改了配置文件可以了,记录一下很简单的过程。

D:\app\orcl\product\11.2.0\dbhome_1\NETWORK\ADMIN在此路径下打开tnsnames.ora文件,添加访问服务

LIN =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.3)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = orcl)
    )
  )

保存重新打开即可。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn