不安装Oracle数据库使用plsqldevloper

1.Oracle官网下载instantclient

解压到D:\zl\instantclient_11_2

2.配置环境变量

  1. ORACLE_HOME = D:\zl\instantclient_11_2
  2. TNS_ADMIN = D:\zl\instantclient_11_2
  3. NLS_LANG = SIMPLIFIED CHINESE_CHINA.ZHS16GBK

3.在D:\zl\instantclient_11_2文件夹下创建两个文件tnsnames.ora和listener.ora

tnsnames.ora

ymdb =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.8)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = dbname)
)
)

listener.ora

LISTENER1 =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = 要访问的数据库地址)(PORT = 1521))
)

4.配置plsqldevloper-->工具-->首选项-->连接

不安装Oracle数据库使用plsqldevloper

5.重启成功

上一篇:RxJS + Redux + React = Amazing!(译二)


下一篇:jquery之wrap(),wrap(),unwrap()方法详解