当前位置:网站首页>oracle 远程连接数据库
oracle 远程连接数据库
2022-08-02 05:13:00 【赟文武】
准备条件
- 两台电脑均在同一局域网内
- 两台电脑防火墙均关闭
准备连接
首先,我们用一台电脑去ping一下另一条电脑(被远程连接的电脑)的ip,查看是否能ping通。步骤如下:
(1)win+r打开命令提示符

(2)输入ping ip地址,出现如下图片则视为成功
注:如果ping不通请尝试关闭远程连接的电脑的公有网络的防火墙
网络ping通后使用tnsping测试与远程连接的数据库服务是否可以正常连接:
连接方案1(通过net manager连接)
(1)win+q搜索net manager回车进入如下页面


(2)选中服务命名文件夹点击左上角绿色加号添加
注:
网络用户名用户自由定义

协议默认即可

主机名即远程连接的电脑的IP地址

服务名一般为oracle数据库实例名

点击测试,更改登录输入相关密码账户



点击文件,保持网络配置

打开pl/sql插件测试


至此,远程登录成功
连接方案2(通过修改文件连接)
(1)找到tnsnames.ora文件,我的文件位置如下E:\app\WY204\product\11.2.0\dbhome_1\NETWORK\ADMIN
(2)添加如下内容
(3)登录插件测试即可
边栏推荐
- 关于鸿蒙系统 JS UI 框架源码的分析
- C language entry combat (13): decimal number to binary
- Differences between i++ and ++i in loops in C language
- An advanced method for solving palindromes
- LeetCode brush topic series - 787 K station transfer within the cheapest flight
- Features and installation of non-relational database MongoDB
- Review: image saturation calculation formula and image signal-to-noise (PSNR) ratio calculation formula
- 提高软件测试能力的方法有哪些?看完这篇文章让你提升一个档次
- Go language study notes - grpc serverclient protobuf Go language from scratch
- Different ways of shell scripting
猜你喜欢

关于 VS Code 优化启动性能的实践

Features and installation of non-relational database MongoDB

51单片机外设篇:点阵式LCD

25K test old bird's 6-year experience in interviews, four types of companies, four types of questions...

Navicat cannot connect to mysql super detailed processing method

navicat connects to MySQL and reports an error: 1045 - Access denied for user 'root'@'localhost' (using password YES)

制作web3d动态产品展示的优点

国际顶会OSDI首度收录淘宝系统论文,端云协同智能获大会主旨演讲推荐

在腾讯做外包测试的那些日子.....

Google notes cut hidden plug-in installation impression
随机推荐
CPU使用率和负载区别及分析
C语言入门实战(13):十进制数转二进制
Detailed explanation of interface in Go language
Redis-----非关系数据库
51 MCU Peripherals: Infrared Communication
Shell 脚本不同玩法
Deep learning - CNN realizes the recognition of MNIST handwritten digits
pytorch基本操作:使用神经网络进行分类任务
Luogu mini game Daquan (everyone who uses Luogu must know)
Meta公司内部项目-RaptorX:将Presto性能提升10倍
5款经典代码阅读器的使用方案对比
kubernetes 亲和、反亲和、污点、容忍
The company does not pay attention to software testing, and the new Ali P8 has written a test case writing specification for us
51单片机外设篇:点阵式LCD
关于 VS Code 优化启动性能的实践
nacos注册中心
深度学习——CNN实现MNIST手写数字的识别
Redis(十一) - 异步优化秒杀
OAuth 授权协议 | 都云原生时代了,我们应该多懂一点OAuth ?
165.比较版本号