国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > Oracle > 正文

Oracle 10g的DBA無法登錄解決方案

2024-08-29 13:56:43
字體:
來源:轉載
供稿:網友
下面就是解決方案:
1- From the command prompt, stop isqlplus:
c:/>isqlplusctl stop
2- Assuming that you install oracle under C drive, run the following comands:
c:/>set oracle_home=c:/oracle/product/10.2.0/db_1
c:/>set java_home=%ORACLE_HOME%/jdk

3- Change directory to:
cd %ORACLE_HOME%/oc4j/j2ee/isqlplus/application-deployments/isqlplus

4- Suppose you need to create a new user with user name 'yoyo' and password 'ch51*****', run the following command:
%JAVA_HOME%/bin/java -Djava.security.properties=%ORACLE_HOME%/oc4j/j2ee/home/config/jazn.security.props -jar %ORACLE_HOME%/oc4j/j2ee/home/jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -adduser "iSQL*Plus DBA" yoyo ch51*****

5- To check that adding this new user was successful, run the following command:
%JAVA_HOME%/bin/java -Djava.security.properties=%ORACLE_HOME%/oc4j/j2ee/home/config/jazn.security.props -jar %ORACLE_HOME%/oc4j/j2ee/home/jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -listusers "iSQL*Plus DBA"
結果:
admin
yoyo
6- To grant a user access to the webDba role from the command line, enter:
%JAVA_HOME%/bin/java -Djava.security.properties=%ORACLE_HOME%/oc4j/j2ee/home/config/jazn.security.props -jar %ORACLE_HOME%/oc4j/j2ee/home/jazn.jar -user "iSQL*Plus DBA/admin" -password welcome -grantrole webDba "iSQL*Plus DBA" yoyo
7- Now, run start isqlplus again and enjoy it:
isqlplusctl start
8. 再次訪問: :5560/isqlplus/dba, 給出用戶名和密碼: yoyo 和 ch51***** (全小寫),就可看到isqlplus的登入界面,
然后再提供用戶名:SYSTEM,口令:ch51*****, 連接標識:(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=KCSQLBI)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=orcl))),權限SYSDBA, 就可以訪問了。
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 邵东县| 石柱| 台州市| 百色市| 大理市| 开封县| 深圳市| 唐山市| 巴东县| 临沧市| 博客| 武川县| 辽宁省| 故城县| 渝北区| 平武县| 元江| 玉树县| 射洪县| 四子王旗| 娱乐| 西乌珠穆沁旗| 晋城| 绥德县| 监利县| 麦盖提县| 蕲春县| 北京市| 靖江市| 望奎县| 萍乡市| 开封县| 抚松县| 图们市| 扬州市| 宣城市| 拉孜县| 麻江县| 灵武市| 漳州市| 铜川市|