安裝
初始化
Windows:
1.進(jìn)入命令行 :快捷鍵win+r cmd
2.進(jìn)入sql模式:sqlplus/nolog;
3.開始連接: conn / as sysdba;
4.創(chuàng)建表空間
Create tablespace tablespace datafile 'G:\app\Administrator\oradata\test.dbf' size 100M;
5. 創(chuàng)建用戶
create user yhb identified by yhb default tablespace tablespace;
6. 授權(quán)
grant connect,resource to yhb;
grant dba to yhb;
7. 為新用戶設(shè)置密碼
alter user yhb identified by 123456;