Oracle建立新使用者簡單步驟

2021-10-07 17:35:19 字數 528 閱讀 3943

首先需要通過dba許可權進行登入, 這裡可以使用sqlplus也可以使用圖形化介面工具。

登入後執行以下操作:

建立臨時表空間`

create

tablespace 使用者名稱 datafile 表空間檔案 size 表空間檔案大小m;

建立資料表空間

create

tablespace 表空間名 datafile 資料表空間檔案 size 表空間檔案大小m;

建立使用者及密碼

create

user 使用者名稱 identified by 密碼 default

tablespace 預設表空間 quota 500m on users;

賦予使用者許可權,使之能夠正常登入

grant

allprivileges

to 使用者名稱

至此乙個新的oracle賬戶建立完成,可以使用各類工具或**進行連線使用

oracle 建立新使用者

create the user create user personnel manage identified by mwq default tablespace users temporary tablespace temp profile default quota 1024m on sysau...

Oracle建立新使用者

1.以dba身份登入 sqlplus sys eastcom orcl as sysdba 在命令視窗下 也可以使用pl sql 2.建立臨時表空間 create temporary tablespace zjph newuser temp tempfile e oracle product 10....

Oracle建立新使用者

黑視窗輸入 sqlplus as sysdba連線資料庫 輸入create tablespacetestdatafile d oracle oradata test.dbf size50m 建立資料庫表空間 test表空間名稱 d oracle oradata test.dbf表空間檔案路徑 檔名稱...