创建oracle用户

来源:互联网 发布:mac os 10.12自带壁纸 编辑:程序博客网 时间:2024/06/06 12:52


1、首先通过管理员登陆.
sqlplus / as sysdba
2、为新创建的用户创建表空间
create tablespace testspace datafile '/opt/oracle/oradata/testspace.dbf' size 50m;
3、创建用户。
create user test identified by testpwd default tablespace testspace 
4、给用户权限
grant connect,resource,dba,sysdba to test;
grant create table to test;
0 0
原创粉丝点击