oracle11gR2数据库在win7环境安装时忘记点击管理口令解锁用户解决办法

在cmd命令行使用oracle自带的sqlplus命令解锁:

cmd命令如下>
sqlplus /nolog
conn sys/ as sysdba
Huawei123

注意password比较关键,是安装时设置的数据库管理口令:Huawei123

alter user scott account unlock;
commit;

重新登录用户,修改新密码

C:\Users\Administrator>sqlplus

SQL*Plus: Release 11.2.0.1.0 Production on Sat May 12 15:05:23 2018

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

Enter user-name: scott
Enter password:
ERROR:
ORA-28001: the password has expired

Changing password for scott
New password:
Retype new password:
Password changed

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

最后顺便说一下cmd复制文本小技巧

cmd上边框(任务栏)>鼠标右键>编辑>标记>选中文本>鼠标右键,即完成复制功能
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值