演示默认学习用户scott,默认密码是tiger

 默认学习用户scott,默认密码是tiger

复制代码
oracle@prd:/home/oracle$sqlplus /nolog
SQL> conn scott/tiger
ERROR:
ORA-28000: the account is locked

SQL> exit
oracle@prd:/home/oracle$sqlplus /nolog

SQL*Plus: Release 11.2.0.4.0 Production on Mon Mar 21 20:28:21 2022

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

SQL> conn / as sysdba  //用超级管理账户登录
Connected.
SQL> alter user scott account unlock;   //解锁

User altered.

SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

//重新登录sqlplus软件,/nolog表示没有任何用户登录
oracle@prd:/home/oracle$sqlplus /nolog

SQL*Plus: Release 11.2.0.4.0 Production on Mon Mar 21 20:28:53 2022

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

SQL> conn scott/tiger  //提示密码已过期,重新设置
ERROR:
ORA-28001: the password has expired
Changing password for scott
New password: 
Retype new password: 
Password changed
Connected.

  SQL> show user;
  USER is "SCOTT"

SQL>alter user scott identified by tiger;  

  User altered.

  

复制代码

 

posted @   jinzi  阅读(170)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?
点击右上角即可分享
微信分享提示