Navicat 連接Oracle數據庫,root賬號連接,以管理員身份登錄
1、首先創建新用戶:
create user username identified by password;
username:新用戶名的用戶名
password: 新用戶的密碼
也可以不創建新用戶,而仍然用以前的用戶
2、創建表空間:
create tablespace tablespacename datafile 'd:\data.dbf' size xxxm;
tablespacename:表空間的名字
d:\data.dbf':表空間的存儲位置
xxx表空間的大小,m單位爲兆(M)
3、將空間分配給用戶
alter user username default tablespace tablespacename;
將名字爲tablespacename的表空間分配給username
4、給用戶授權
grant create session,create table,unlimited tablespace to username;
5、然後再以剛纔創建的用戶登錄,登錄之後創建表即可
conn username/password;