Home > Database > Mysql Tutorial > body text

oracle手动配置数据库

WBOY
Release: 2016-06-07 15:20:09
Original
1072 people have browsed it

今天在连接服务器端的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)
    )
  )

保存重新打开即可。

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!