Home > Database > Mysql Tutorial > body text

Oracle 11gR2 即时客户端配置(Windows)

WBOY
Release: 2016-06-07 16:22:45
Original
1305 people have browsed it

1、先下载适合自己系统的即时客户端,可通过下面的地址下载。 2、直接解压到你想要存放的目录中,如:C:instantclient_11_2 3、编辑环境变量: TNS_ADMIN 设置为 C:instantclient_11_2 ORACLE_HOME 设置为 C:instantclient_11_2 4、编辑连接配置文件 tnsname

   1、先下载适合自己系统的即时客户端,,可通过下面的地址下载。

  

  2、直接解压到你想要存放的目录中,如:C:instantclient_11_2

  3、编辑环境变量:

  TNS_ADMIN 设置为 C:instantclient_11_2

  ORACLE_HOME 设置为 C:instantclient_11_2

  4、编辑连接配置文件 tnsnames.ora,该文件需要自行在即时客户端目录(C:instantclient_11_2)中创建。在该文件内输入如下内容:

  MYDB =

  (DESCRIPTION =

  (ADDRESS_LIST =

  (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.3.250)(PORT = 1521))

  )

  (CONNECT_DATA =

  (SERVER = DEDICATED)

  (SERVICE_NAME = MYDB)

  )

  )

  MYDB:是数据库实例名

  192.168.3.259:是数据库的 IP 地址

  1521:是数据库的端口

  5、然后你就可以使用 PLSQL Developer 和 TOAD 这类软件来管理 Oracle 数据库了。

Related labels:
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!