当前位置:网站首页>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)登录插件测试即可
边栏推荐
- Introduction to Grid Layout
- 聪明人的游戏提高篇:第三章第二课:“桐桐数”(number)
- 51 MCU peripherals: ADC
- 高防服务器防御的原理是什么
- 无代码生产新模式探索
- 保证家里和企业中的WIFI安全-附AC与AP组网实验
- 6W+字记录实验全过程 | 探索Alluxio经济化数据存储策略
- There are more and more talents in software testing. Why are people still reluctant to take the road of software testing?
- 如何优化OpenSumi终端性能?
- [PSQL] window function, GROUPING operator
猜你喜欢

leetcode每天5题-Day04

eggjs controller层调用controller层解决方案

Browser onload event

Meta公司内部项目-RaptorX:将Presto性能提升10倍

驱动页面性能优化的3个有效策略

Three methods of importing sql files in MySQL

21 Day Learning Challenge Schedule

Deep learning - CNN realizes the recognition of MNIST handwritten digits

Mysql数据库 | 基于Docker搭建Mysql-8.0以上版本主从实例实战

复盘:图像饱和度计算公式和图像信噪(PSNR)比计算公式
随机推荐
构造方法、成员变量、局部变量
Stress testing and performance analysis of node projects
高防服务器防御的原理是什么
JUC(一)- JUC学习概览 - 对JUC有一个整体的认识
kubernetes affinity, anti-affinity, taint, tolerance
Linux CentOS8安装Redis6
The Go language learning notes - dealing with timeout - use the language from scratch from Context
腾讯大咖分享 | 腾讯Alluxio(DOP)在金融场景的落地与优化实践
上海交大牵手淘宝成立媒体计算实验室:推动视频超分等关键技术发展
classSR论文阅读笔记
How much does a test environment cost? Start with cost and efficiency
点云旋转到参考坐标系方向(最小方向包围盒方法)
Redis-----非关系数据库
51单片机外设篇:点阵式LCD
Smart people's game improvement: Chapter 3, Lesson 2: "Number of Tongtong" (number)
Cyber Security Learning - Intranet Penetration 4
制作web3d动态产品展示的优点
51单片机外设篇:ADC
MySql copies data from one table to another table
51 MCU peripherals: DS18B20