1.select file_Name from dba_data_files;(查询表空间)
2.create tablespace QUAN datafile '/app/ADMINISTRATOR/oradata/orcl/QUAN.dbf' size 400m; (创建表空间<QUAN为自定义名称>)
3.create user QUAN identified by 123;(创建一个用户并设置密码为123)
4.alter user QUAN default tablespace QUAN;(绑定表空间到用户)
5.grant dba to QUAN;(为用户赋权限)
6.alter user QUAN identified by 123;(使用管理员身份为QUAN修改密码)
7.Oracle安装完成后的默认密码为:
user: sys, password:CHANGE_ON_INSTALL;
user: system, password:manager;