1.打开cmd,输入sqlplus,回车
2.输入用户名:system/manager@orcl as sysdba,回车
3.create user yonghu identified by yonghu; //创建yonghu用户,密码为yonghu
4.grant dba to yonghu; //把dba的权限赋给yonghu这个用户
create tablespace yonghu datafile 'D:\yonghu.ora' size 1000m; 创建表空间
create user yonghu identified by yonghu default tablespace yonghu quota 500m on users; 创建用户及密码
grant all privileges to yonghu; 授权
grant dba to yonghu; 授权dba