打开sql编辑器执行以下代码
1. create tablespace test datafile 'D:\test.ora' size 1000m
--这里的test为表空间名称,路径自己来命名
2.create user test identified by test default tablespace test
quota 500m on users
--这里第一个test为用户名,第二个test为密码,第三个test为表空间名。然后执行
3.grant all privileges to test
--成功创建用户后,进行授权。
--输入grant all privileges to test;
--执行该语句给test用户授权,此时test用户就可以登录了