step1:下载PLSQL
https://www.allroundautomations.com/registered-plsqldev/
step2:双击安装PLSQL
step3:双击打开,并且输入注册码
https://blog.csdn.net/richer__/article/details/95976407
产品编号(Product Code):
kfj6yg6rfyhqcha6cbgs6fsw3kyje7a6qr
序列号(Serial Number):
276182
口令(Password):
xs374ca
step4: 下载oracle客户端instantclient,解压即可
https://www.oracle.com/database/technologies/instant-client/winx64-64-downloads.html
https://www.oracle.com/database/technologies/instant-client/downloads.html
step5:PLSQL 配置 Oracle Home 、OCI Library 路径
step6:在instanclient安装目录下创建NetworkAdmin nsnames.ora,并且写入tns连接串
192.168.1.158_orcl = //别名前面不能有空格
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.1.158)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = orcl)
)
)
step7:配置系统环境变量
此电脑---》右击属性----》更改设置----》高级----》环境变量
新建ORACLE_HOME变量:(oracle的客户端instantclient的安装位置)
添加Path变量值:
新建变量TNS_ADMIN:(tnsnames.ora的目录路径)