在oracle中用命令创建用户并授权

1.以sysdba进入sql命令环境:

sqlplus / as sysdba;

2.创建用户如lal

create user lal identified by 123456;

3.授权

GRANT CREATE SESSION TO lal;

GRANT "CONNECT","RESOURCE" TO lal;

4.登录测试

posted @ 2024-01-19 16:10  山茶花llia  阅读(52)  评论(0编辑  收藏  举报