1、安装完oracle数据库之后,首先在windows运行中,输入:sqlplus / as sysdba
出现如下提示表示成功连接到数据库
2、创建表空间:
输入:create tablespace test_temp datafile 'test_temp.ora' size 1000m;
test_temp:表空间名
test_temp.ora:表空间文件路径
3、创建用户:
输入:create user username identified by password default tablespace test_temp quota 500m on users;
4、给新用户授权:
输入:grant all privileges to username;