zoukankan      html  css  js  c++  java
  • Oracle 解除对SCOTT/TIGER用户的锁定。

    1、查证目前系统对于SCOTT用户的状态:

    select * from dba_users where upper(username)='SCOTT';

    ACCOUNT_STATUS:EXPIRED & LOCKED

    2、解除对于SCOTT用户的锁定:

    conn sys/bitservice@ttonline as sysdba;

    alter user scott account unlock;

    select * from dba_users where upper(username)='SCOTT';

    ACCOUNT_STATUS:EXPIRED

    3、连接SCOTT用户:

    conn scott/tiger@ttonline;提示该用户已经过期,请重新输入新的密码:tiger

    conn scott/tiger@ttonline;此次可以正常连接此用户。

    4、查看SCOTT用户的状态:

    conn sys/bitservice@ttonline as sysdba;

    select * from dba_users where upper(username)='SCOTT';

    ACCOUNT_STATUS:OPEN

  • 相关阅读:
    mysql-主主配置
    PHP安装-centos7
    mysql-M-S-S模型 中继器 级联
    安装mysql数据库-centos7
    正则表达式
    DJango安装-windows
    flask安装
    python安装centos7
    Linux——C库
    文件I/O
  • 原文地址:https://www.cnblogs.com/advocate/p/1791430.html
Copyright © 2011-2022 走看看