Welcome 微信登录

首页 / 数据库 / MySQL / Oracle10g scott解锁

我们知道第一次要conn到scott/tiger前,必须为scott解锁。解锁具体为下面几个步骤:1:启动数据库 执行@$Oracle_HOME/db_1/rdbms/admin/utlsampl.sql2:再次通过sqlplus进入数据库3:alter user scott identified by tiger account unlock(如果此时我们不知道scott的密码tiger,那么我们就直接用alter user scott account unlock,再下面的时候再去设置密码也是可以的)---当我们此时尝试去conn scott/tiger时,可以conn上,但是提示说要在system用户下去运行pupbld.sql。我们不知道system的密码,故可用下面方法去设置4:alter user system identified by oracle--设置了system的密码后就可以登录了5:conn system/oracle6:@$ORACLE_HOME/sqlplus/admin/pupbld.sql--在system用户下去执行这个sql更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12Oracle SQL之--多表查询基础用法Oracle会话和进程数的监控相关资讯      oracle10g  scott 
  • 在Oracle Linux 5.11上构建基于LVM  (02月14日)
  • Oracle 11g重建scott  (03/24/2014 14:21:55)
  • Oracle10g DG 的搭建  (10/26/2013 07:27:57)
  • Oracle10g 64位 在Windows 2008   (12/19/2015 13:24:57)
  • 授权scott用户可以开启执行  (01/12/2014 19:03:38)
  • Oracle scott用户解锁  (09/04/2012 05:51:06)
本文评论 查看全部评论 (0)
表情: 姓名: 字数