先通过【c:/>SQLPLUS /NOLOG】进入到【SQL>】
然后通过【SQL>conn sys/oracle@liuyong_127.0.0.1 as sysdba】连接到数据库其中sys是建立数据库时
系统帐户,而oracle是自己设的密码,liuyong_127.0.0.1是在net manager中配置的一个服务命名,好像
是例程命名;当系统提示已连接上时,即可进行配置新用户操作【create user liuyong identified by
"liuyong";】以及之后的授权操作像【grant create session to liuyong;】【grant create table to
liuyong;】【grant create tablespace to liuyong;】【grant create view to liuyong;】,然后还要
授予用户使用表空间的权限【alter user liuyong quota unlimited on SYSTEM;】其中SYSTEM是表空间
的名字,也可新建表空间,然后再分配。到现在为止就可以通过liuyong用户去建表了。
必要的时候,我们需要重启ORACLE服务器.