ITPub博客

首页 > Linux操作系统 > Linux操作系统 > $ORACLE_HOME后面是不能添加 “ / “的

$ORACLE_HOME后面是不能添加 “ / “的

原创 Linux操作系统 作者:lxz3000 时间:2009-12-16 17:12:00 0 删除 编辑
今天到测试库上修改SYS密码,结果登陆后显示:
[oracle@oracletest oradata]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 12月 16 17:14:05 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.

Connected to an idle instance.

SQL>

google了一下,原来$ORACLE_HOME后面不要有" / ",删掉
export ORACLE_BASE=/opt/app/oracle/
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/oradata/

[oracle@oracletest oradata]$ source /home/oracle/.bash_profile
[oracle@oracletest oradata]$ sqlplus / as sysdba

SQL*Plus: Release 10.2.0.1.0 - Production on 星期三 12月 16 17:18:53 2009

Copyright (c) 1982, 2005, Oracle.  All rights reserved.


Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options

SQL>

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10341434/viewspace-622588/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-01-13

  • 博文量
    44
  • 访问量
    92497