Skip to content

Commit bf033c2

Browse files
committed
update db
1 parent 6a9c9a1 commit bf033c2

File tree

1 file changed

+31
-28
lines changed

1 file changed

+31
-28
lines changed

db相关总结.md

Lines changed: 31 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -338,34 +338,37 @@ ORA-28000: 账户锁定
338338
* 点击“应用”再点击“关闭”;
339339
* 重新登录就可以通过验证了
340340

341-
## oracle emca常用命令
342-
$ emctl stop dbconsole
343-
$emca -r 修复完毕,dbconsole 可以正常使用了
344-
345-
创建一个EM资料库
346-
emca -repos create
347-
348-
重建一个EM资料库
349-
emca -repos recreate
350-
删除一个EM资料库
351-
emca -repos drop
352-
配置数据库的 Database Control
353-
emca -config dbcontrol db
354-
删除数据库的 Database Control配置
355-
emca -deconfig dbcontrol db
356-
重新配置db control的端口,默认端口在1158
357-
emca -reconfig ports
358-
emca -reconfig ports -dbcontrol_http_port 1160
359-
emca -reconfig ports -agent_port 3940
360-
先设置ORACLE_SID环境变量后,启动EM console服务
361-
emctl start dbconsole
362-
emctl stop dbconsole
363-
emctl status dbconsole
364-
重新配置dbconsole的步骤
365-
emca -repos drop 删除DBConsole
366-
emca -repos create 重建
367-
emca -config dbcontrol db 配置
368-
emctl start dbconsole 启动
341+
## oracle emca常用命令
342+
343+
```
344+
$ emctl stop dbconsole
345+
$emca -r 修复完毕,dbconsole 可以正常使用了
346+
347+
创建一个EM资料库
348+
emca -repos create
349+
350+
重建一个EM资料库
351+
emca -repos recreate
352+
删除一个EM资料库
353+
emca -repos drop
354+
配置数据库的 Database Control
355+
emca -config dbcontrol db
356+
删除数据库的 Database Control配置
357+
emca -deconfig dbcontrol db
358+
重新配置db control的端口,默认端口在1158
359+
emca -reconfig ports
360+
emca -reconfig ports -dbcontrol_http_port 1160
361+
emca -reconfig ports -agent_port 3940
362+
先设置ORACLE_SID环境变量后,启动EM console服务
363+
emctl start dbconsole
364+
emctl stop dbconsole
365+
emctl status dbconsole
366+
重新配置dbconsole的步骤
367+
emca -repos drop 删除DBConsole
368+
emca -repos create 重建
369+
emca -config dbcontrol db 配置
370+
emctl start dbconsole 启动
371+
```
369372

370373
## 系统表
371374

0 commit comments

Comments
 (0)