本地没有Toad,没有Sqlplus只有Navicat,PLSQL怎么玩?

PLSQL Developer连接远程oracle配置

G:\SysManage\FirstSoft\instantclient_11_2

创建目录NETWORK,然后再NETWORK下建立目录ADMIN。在ADMIN目录下建立tnsnames.ora文件,在该tnsnames.ora文件中添加如下内容:

ORACLR_CONNECTION_DATA =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1521))

)

(CONNECT_DATA =

(SID = CLRExtProc)

(PRESENTATION = RO)

)

)

orcl =

(DESCRIPTION =

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

(CONNECT_DATA =

(SERVER = DEDICATED)

(SERVICE_NAME = orcl)

)

)

2:环境变量的配置

打开环境变量设置添加TNS_ADMIN,值为tnsnames.ora所在路径。如本机为E:\oracleClient\instantclient_11_2\NETWORK\ADMIN\tnsnames.ora

设置ORACLE的语言,添加环境变量NLS_LANG,值为AMERICAN_AMERICA.AL32UTF8如果出现乱码可用SIMPLIFIED CHINESE_CHINA.ZHS16GBK

3:下载并安装PLSQL Developer

安装完成后进入PLSQL Developer,选择tools->preferences->connection

Oracle Home

E:\oracleClient\instantclient_11_2

OCI library

E:\oracleClient\instantclient_11_2\oci.dll

修改完毕后保存并重启PLSQL Developer就可以使用该工具了。

你可能感兴趣的:(本地没有Toad,没有Sqlplus只有Navicat,PLSQL怎么玩?)