亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

root用戶怎么用oracle?

root用戶怎么用oracle?

紅顏莎娜 2019-05-29 16:07:20
root用戶怎么用oracle
查看完整描述

3 回答

?
qq_遁去的一_1

TA貢獻1725條經驗 獲得超8個贊

在安裝oracle時,安裝向導會提示你創建一個oracle用戶,來管理oracle。這個用戶一般都叫‘oracle’。
root下無法登陸oracle,需要進入oracle用戶,才能連接數據庫
su - oracle
sqlplus / as sysdba --以管理員身份登陸oracle

查看完整回答
反對 回復 2019-06-01
?
慕田峪4524236

TA貢獻1875條經驗 獲得超5個贊

[root@oel51 ~]# export ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbhome_1
[root@oel51 ~]# /u01/app/oracle/product/11.2.0/dbhome_1/bin/sqlplus dexter/[email protected]:1521/ggdb2

SQL*Plus: Release 11.2.0.4.0 Production on Tue Jun 30 13:38:18 2015

Copyright (c) 1982, 2013, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL>



查看完整回答
反對 回復 2019-06-01
?
夢里花落0921

TA貢獻1772條經驗 獲得超6個贊

方法一:
[root@ogg1 ~]$ cat /home/oracle/.bash_profile |grep SID
export ORACLE_SID=ogg1
方法二:
查看oracle任意一個后臺進程,例如lgwr,ora_lgwr_ogg1其中ogg1就是sid
[oracle@ogg1 ~]$ ps -ef|grep lgwr
oracle 4864 1 0 11:30 ? 00:00:00 ora_lgwr_ogg1
oracle 5442 2329 0 12:18 pts/0 00:00:00 grep lgwr

查看完整回答
反對 回復 2019-06-01
  • 3 回答
  • 0 關注
  • 1255 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號