ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • oracle lock걸리는거 해제한 커맨드 목록 (feat: 강사님)
    DB/Oracle(DB) 2023. 7. 25. 12:35

    Microsoft Windows [Version 10.0.19045.3208]
    (c) Microsoft Corporation. All rights reserved.

    C:\Users\Parkjinsu>sqlplus system/1111

    SQL*Plus: Release 11.2.0.2.0 Production on 화 7월 25 12:13:51 2023

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

    ERROR:
    ORA-01017: invalid username/password; logon denied


    Enter user-name: system
    Enter password:

    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

    SQL>
    SQL>
    SQL> alter user project unlock;
    alter user project unlock
                       *
    ERROR at line 1:
    ORA-00922: missing or invalid option


    SQL> alter user project account unlock;

    User altered.

    SQL> exit
    Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

    C:\Users\Parkjinsu>sqlplus project/1234

    SQL*Plus: Release 11.2.0.2.0 Production on 화 7월 25 12:15:41 2023

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


    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

    SQL> exit
    Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

    C:\Users\Parkjinsu>sqlplus system/1111

    SQL*Plus: Release 11.2.0.2.0 Production on 화 7월 25 12:15:47 2023

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

    ERROR:
    ORA-01017: invalid username/password; logon denied


    Enter user-name: system
    Enter password:

    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

    SQL>
    SQL>
    SQL>
    SQL> alter user project identified by 1111;

    User altered.

    SQL> exit
    Disconnected from Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

    C:\Users\Parkjinsu>sqlplus project/1111

    SQL*Plus: Release 11.2.0.2.0 Production on 화 7월 25 12:16:34 2023

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


    Connected to:
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - 64bit Production

    SQL>

    'DB > Oracle(DB)' 카테고리의 다른 글

    oracle XE 데이터베이스 재시작 명령어  (0) 2023.11.01
    Oracle key 종류!  (0) 2023.09.11
    where?  (0) 2023.07.07
    UPDATE & DELETE  (0) 2023.07.07
    SELECT Subquery  (0) 2023.07.07
Designed by Tistory.