linux root 操作oracle命令

[root@localhostE~]#vi /etc/profile

export ORACLE_BASE=/DBSoftware/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/11.2.0/db_1

export ORACLE_SID=orcl

export PATH=$PATH:$ORACLE_HOME/bin

保存退出

[root@localhostE~]#source /etc/profile

测试

[root@localhostE~]#sqlplus sys/test1234@orcl as sysdba

posted @ 2013-04-23 21:15  重剑无锋_FQT  阅读(487)  评论(0编辑  收藏  举报