Home > Database > Mysql Tutorial > body text

Oracle10g scott解锁

WBOY
Release: 2016-06-07 17:17:13
Original
1250 people have browsed it

Oracle10g scott解锁,我们知道第一次要conn到scott/tiger前,必须为scott解锁。解锁具体为下面几个步骤:1:启动数据库 执行@$OR

我们知道第一次要conn到scott/tiger前,必须为scott解锁。解锁具体为下面几个步骤:

1:启动数据库 执行@$Oracle_HOME/db_1/rdbms/admin/utlsampl.sql

2:再次通过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/oracle

6:@$ORACLE_HOME/sqlplus/admin/pupbld.sql--在system用户下去执行这个sql

更多Oracle相关信息见Oracle 专题页面 ?tid=12

linux

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template