今天到测试库上修改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 - ProductionWith the Partitioning, OLAP and Data Mining optionsSQL>
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/10341434/viewspace-622588/
,如需转载,请注明出处,否则将追究法律责任。