环境变量设置  Solaris windows

本文提供了一套详细的步骤指南,用于在Solaris和Windows操作系统中配置环境变量,以选择不同的数据库实例。介绍了如何使用oraenv和coraenv等脚本来简化这一过程,并提供了实际的命令示例。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Solaris Example
The following Solaris example sets the environment variables that are required for
selecting an instance. When switching between instances with different Oracle homes,
the<wbr> ORACLE_HOME<wbr> environment variable must be changed.<br> % setenv ORACLE_SID SAL1<br> % setenv ORACLE_HOME /u01/app/oracle/product/10.1.0/db_1<br> % setenv LD_LIBRARY_PATH /usr/lib:/usr/dt/lib:/usr/openwin/lib:/usr/ccs/lib<br><br> Most UNIX installations come with two scripts, <span style="color: rgb(237, 28, 36);">oraenv</span><wbr> and coraenv, that can be<br> used to easily set these environment variables. For more information, see<br> Administrator's Reference for UNIX Systems.<br><br> Windows Example<br> On Windows, you must set only the ORACLE_ SID environment variable to select an<br> instance before starting SQL*Plus.<br> SET ORACLE_SID=SAL1 </wbr></wbr></wbr>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值