本文主要是介绍Oralce在linux中停止和启动服务,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
先以数据库用户登录
停止数据库服务
cd
source .bash_profile
lsnrctl stop
sqlplus /nolog
>connect user/pwd as sysdba
>shutdown immediate
>exit
启动数据库服务
cd
source .bash_profile
lsnrctl start
sqlplus /nolog
>connect user/pwd as sysdba
>startup
>exit
ps:本人一般会为数据库单独建一个用户
这篇关于Oralce在linux中停止和启动服务的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!