当前位置:网站首页>Oracle客户端和服务端的区别
Oracle客户端和服务端的区别
2022-06-22 14:34:00 【顺其自然~】
随着Oracle技术领域应用越来越广泛,现在就关于oracle客户端配置极其使用说明讲下个人的经验,希望能对读者有些帮助。
使用oracle数据库有两种方法:
1、在客户端机器上安装oracle的客户端软件。唯一的例外就是java连接数据库的时候,可以用jdbc thin模式,不用装oracle的客户端软件。
2、如果你在机器上装了oracle数据库服务器,就不需要在单独在该机器上安装oracle客户端了,因为装oracle数据库的时候会自动安装oracle客户端 。
如果想用本地的计算机访问或连接远程的oracle数据库,那么就必须在本地的计算机上安装oracle客户端软件。在安装客户端前,确保在服务器端:
1.保证listener服务已经启动。
2.保证数据库已经启动。
安装完客户端软件后,要对客户端软件下的配置和移植工具----》net configuration assianstant进行配置,按照提示:图形界面修改(最好用这种方法修改) 可以在客户端机器上使用oracle Net Configuration Assistant或oracle Net Manager图形配置工具对客户端进行配置,该配置工具实际上修改tnsnames.ora文件。
下面是使用 oracle Net Configuration Assistant工具对客户端进行配置的,设置完成之后net manage中也作了相应的修改。步骤如下:
1、打开cmd输入netca或用菜单选择 Net Configuration Assistant。
2、选择【本地net服务名配置】→下一步。
3、选择【添加】→下一步。
4、在【服务名】中输入你想要连接的服务器上的oracle服务的名字(远程服务器上数据库的名字)→下一步。
5、选择【tcp】→下一步。
6、在【主机名】中输入你想要连接的服务器ip,端口号不变→下一步。
7、选择【进行测试】→下一步。(当然你也可以选择不测试)
※1测试如果不通过,点击【更改登录】输入一个肯定能登入的【用户名】和【口令】→确定,出现【正在连接...测试成功。】表明测试成功。
※2测试不通过的话,点【上一步】确认你写的【服务名】和【主机名】,确认无误的情况下,确认你要连接的服务器oracle监听服务已经打开。
8、在【net服务名中】输入你想要使用的本地的服务名(本地使用的服务名称即当程序链接数据库所使用的数据库名称或数据库别名、网络服务名)→下一步。 就是【sqlplus user/passwd @本地服务名】。
9、选择【否】→下?......
至此,整个Oracle客户端配置完成。
转自:https://blog.csdn.net/qq_22558507/article/details/75220224
边栏推荐
- Database connection pool: stress testing
- Ros2 pre basic tutorial | Xiaoyu teaches you how to use cmake dependency lookup process
- mysql如何修改存储引擎为innodb
- "Software defines the world, open source builds the future" 2022 open atom global open source summit will open at the end of July
- C language learning -18-makefile file writing examples and how to generate and call dynamic libraries
- “软件定义世界,开源共筑未来” 2022开放原子全球开源峰会7月底即将开启
- Promouvoir l'adaptation compatible et permettre le développement collaboratif du Service Express adaptatif gbase en mai
- What happened to those who didn't go to college
- 多年亿级流量下的高并发经验总结,都毫无保留地写在了这本书中
- 程序替换函数
猜你喜欢

FPGA采集DHT11温湿度

壹连科技冲刺深交所:年营收14亿 65%收入来自宁德时代

UK considers listing arm in London based on national security

【VTK】模型旋转平移

Cve-2022-0847 (privilege lifting kernel vulnerability)

Show me my personal work list for the past two years. I earn 6K a month in my spare time. It's so delicious to have a sideline

标准化、最值归一化、均值归一化应用场景的进阶思考

数字人民币可以买理财产品了!建行APP在试点地区上线服务专区,实测体验如何?

SDVO:LDSO+语义,直接法语义SLAM(RAL 2022)

Exploration and practice of dewu app data simulation platform
随机推荐
NF RESNET: network signal analysis worth reading after removing BN normalization | ICLR 2021
Exploration and practice of dewu app data simulation platform
DDD understanding of Domain Driven Design
(pytorch进阶之路二)word embedding 和 position embedding
Is it difficult for flush to open an account? Is it safe to open an account online?
乱解码nlp
Method of using inout signal in Verilog
Promoting compatibility and adaptation, enabling coordinated development of gbase may adaptation Express
C语言学生成绩排名系统
【题目精刷】2023禾赛-FPGA
Using virtual serial port to debug serial port in keil MDK
After 100 days, Xiaoyu built a robot communication community!! Now invite moderators!
Charles 乱码问题解决
mysql如何将字段修改为not null
大佬们好,初次使用MySQL cdc 报错
推進兼容適配,使能協同發展 GBase 5月適配速遞
Is SQL analysis query unavailable in the basic version?
问一下想获取到sqlserver的start_lsn有好的办法吗?
向量1(类和对象)
Development status of full color LED display