数据库 建立

1、使用管理员账户登录

system/密码

2、创建命名空间:路径、大小可以任意

create tablespace temporcl datafie 'E: emp emporcl.ora' size 100m;    //可以.dbf文件

3、创建用户

create user test_user identified by default  tabespace temporcl quota 50m on users;

4、给用户赋权:

grant all privileges to test_user;

之后就可以用创建的用户进行登录、建表。

select * from dba_data_files  --查询表空间的位置

原文地址:https://www.cnblogs.com/0914lx/p/7091701.html