[Oracle] 오라클 DB 생성
[oracle@ssoqa ~]$ export ORACLE_SID=orcl
[oracle@ssoqa ~]$
[oracle@ssoqa ~]$
[oracle@ssoqa ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.1.0 Production on 화 6월 15 17:04:48 2021
Copyright (c) 1982, 2009, Oracle. All rights reserved.
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
SQL> SELECT*FROM ALL_USERS;
USERNAME USER_ID CREATED
------------------------------ ---------- --------
사용자이름 생성일
n rows selected.
SQL>
SQL>
SQL> CREATE USER 사용자명 IDENTIFIED BY 비밀번호;
User created.
SQL> SELECT*FROM ALL_USERS;
USERNAME USER_ID CREATED
------------------------------ ---------- --------
사용자이름 생성일
n +1 rows selected.(생성한 사용자 추가되어있음)
SQL> GRANT CONNECT, RESOURCE TO 사용자명;
2
SQL>
SQL>
SQL> GRANT CONNECT, RESOURCE TO 사용자명 ;
Grant succeeded.
SQL>