当前位置:网站首页>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)登录插件测试即可
边栏推荐
- 复盘:图像饱和度计算公式和图像信噪(PSNR)比计算公式
- The Go language learning notes - dealing with timeout - use the language from scratch from Context
- leetcode每天5题-Day04
- Difference and analysis of CPU usage and load
- 51单片机外设篇:DS18B20
- TikTok平台的两种账户有什么区别?
- The company does not pay attention to software testing, and the new Ali P8 has written a test case writing specification for us
- 回文串求解的进阶方法
- Luogu mini game Daquan (everyone who uses Luogu must know)
- [PSQL] 窗口函数、GROUPING运算符
猜你喜欢
How much does a test environment cost? Start with cost and efficiency
51单片机外设篇:DS18B20
Use the browser's local storage to realize the function of remembering the user name
51 MCU peripherals: DS18B20
pytorch basic operations: classification tasks using neural networks
【合集- 行业解决方案】如何搭建高性能的数据加速与数据编排平台
非关系型数据库MongoDB的特点及安装
C语言小游戏——扫雷小游戏
分布式文件存储服务器之Minio对象存储技术参考指南
How Navicat Connects to MySQL
随机推荐
APP Bluetooth connection test of test technology
classSR论文阅读笔记
Block elements, inline elements (
elements, span elements)H5 access payment process - WeChat payment & Alipay payment
Point Density-Aware Voxels for LiDAR 3D Object Detection 论文笔记
配合蓝牙打印的encoding-indexes.js文件内容:
非关系型数据库MongoDB的特点及安装
51 MCU peripherals: DS18B20
程序员写PPT的小技巧
Go language study notes - grpc serverclient protobuf Go language from scratch
自动化运维工具——ansible、概述、安装、模块介绍
VMTK环境配置记录
回文串求解的进阶方法
Use the browser's local storage to realize the function of remembering the user name
Home NAS server (4) | MergerFS and SnapRaid data backup
kubernetes 亲和、反亲和、污点、容忍
保证家里和企业中的WIFI安全-附AC与AP组网实验
Deep learning - CNN realizes the recognition of MNIST handwritten digits
51 microcontroller peripherals article: dot-matrix LCD
Review: image saturation calculation formula and image signal-to-noise (PSNR) ratio calculation formula