演示默认学习用户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.
分类:
oracle
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· DeepSeek 开源周回顾「GitHub 热点速览」
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· AI与.NET技术实操系列(二):开始使用ML.NET
· 单线程的Redis速度为什么快?