1)启动脚本(dbstart.sh)
lsnrctl start
sqlplus /nolog <<EOFconnect / as sysdbastartup;exitEOF$sh dbstart.sh 即可
----------
2)关闭脚本(dbstop.sh)
lsnrctl stopsqlplus /nolog <<EOFconnect / as sysdbashutdown immediate;exitEOF$sh dbstop.sh 即可
本文共 292 字,大约阅读时间需要 1 分钟。
1)启动脚本(dbstart.sh)
lsnrctl start
sqlplus /nolog <<EOFconnect / as sysdbastartup;exitEOF$sh dbstart.sh 即可
----------
2)关闭脚本(dbstop.sh)
lsnrctl stopsqlplus /nolog <<EOFconnect / as sysdbashutdown immediate;exitEOF$sh dbstop.sh 即可
转载于:https://www.cnblogs.com/fengyexjtu/p/5123120.html