sqlplus "/as sysdba"
- sysdba 로 접속 후
alter session set "_ORACLE_SCRIPT"=true;
- alter session set "_ORACLE_SCRIPT"=true; 설정
create user {user_name} identified by {password};
- 평소와 같이 유저 성생
grant create session to {user_name};
- 생성한 유저에 로그인 권한 생성
grant connect, resource to {user_name};
- 일반적인 권한부여
grant dba to {user_name};
- dba 권한 주기
출처
https://taisou.tistory.com/583
'dev > 데이터베이스' 카테고리의 다른 글
오라클 - AWR ( Automatic Workload Repository ) (0) | 2020.11.07 |
---|---|
오라클 - DB dump & import (0) | 2020.11.07 |
ORA-28040 : No matching authentication protocol (0) | 2020.11.01 |
ORA-28000 (0) | 2020.11.01 |
Db Lock 및 세션킬 조회 (0) | 2019.11.11 |