linux重启后数据库重新启动方式
1:关闭防火墙
service iptables stop
sudo systemctl disable firewalld.service ---center os
OR
systemctl stop iptables.service
systemctl stop firewalld.service ---center os
2:切换到oracle账户
su - oracle
3:显示当前的实例名
echo $ORACLE_SID
4:lsnrctl stop #先关闭监听服务
5: lsnrctl start #开启监听服务
6:sqlplus / as sysdba #登入
7:shutdown immediate #立即关闭数据库服务(一般是关闭状态)
8:startup #开启数据库服务(重要,必输)
9:
启动成功
exit #退出
10:plsql连接成功
连接成功展示
相关推荐
-
MySQL 安装失败,提示Apply Security Settings 的处理办法
MySQL 安装失败,提示Apply Security Settings 的处理办法2025-04-20 01:54:57 -
MySQL事务隔离级别详解2025-04-20 01:44:01
-
一文说清nginx规则匹配(含案例分析)2025-04-20 01:10:02
-
运维服务篇:Nginx常用功能(rewrite重定向/location定位等)
运维服务篇:Nginx常用功能(rewrite重定向/location定位等)2025-04-20 00:55:25 -
php定义变量规则不能包含哪些字符?2025-04-20 00:27:24