728x90
1.
접속한 유저 : SYS
2.
SYS 유저는 오라클에서 모든 권한을 소유한 최고 권한 유저 이다.
3.
일반 유저를 소문자 scott 이라는 이름으로 생성.
4.
유저 이름 scott, 비밀번호 tiger로 유저 생성.
>>
create user scott
identified by tiger;
5.
scott 유저에 dba 롤(role) 을 부여.
>>
grant dba to scott;
6.
scott 유저로 접속.
>>
connect scott/tiger
7.
접속한 유저가 scott인지 확인.
>>
show user
반응형