1、连接数据库
# su – oracle
$ conn / as sysdba
2、创建表空间
SQL> create tablespace doiido datafile ‘/main/oracle/oradata/doiido.dbf’ size 1024M autoextend on next 1024M maxsize 10240M extent management local;
3、创建用户
SQL> create user doiido identified by doiido default tablespace doiido;
4、授oracle账号权
SQL> grant connect, resource to doiido;
5、不对用户做表空间限额控制
SQL> grant unlimited tablespace to doiido;
6、切换用户登录
SQL> conn doiido/doiido;