728x90
일단 시스템으로 접속 후
create user 접속이름 identified by 비밀번호;
권한
SELECT * FROM all_users;
grant connect,dba,resource to user01;
GRANT CREATE SESSION TO user01;
GRANT CREATE TABLE TO user01;
GRANT DROP ANY TABLE TO user01;
GRANT CREATE SEQUENCE TO user01;
시퀀스
CREATE SEQUENCE Comments_SEQ
START WITH 1
INCREMENT BY 1
NOCACHE
NOCYCLE;
728x90
'study > db' 카테고리의 다른 글
mysql jpa connect (0) | 2022.10.01 |
---|
댓글