1.用sysdba登錄
(1)cmd 控制台:sqlplus / as sysdba;
(2)drop user test cascade;
2.創建用戶
-- Create the user
create user test
identified by test
default tablespace hOTEL_DATA
temporary tablespace temp;
-- Grant/Revoke role privileges
grant dba to test;
grant connect to test;