1、有两种方法可行,如果你没有plsql工具,可以看下方法二方法一:使用plsql工具
2、使用oracle用户登录到需要建新用户的数据库服务器
3、执行下面的sql语句create user username identified by password;--创建用户名和密码grant create session to username;--给该用户赋权grant unlimited tablespace to username;--给该用户赋权grant create table to username;--给该用户赋权grant drop any table to username;--给该用户赋权grant insert any table to username;--给该用户赋权grant update any table to username;--给该用户赋权grant dba to username;--给该用户赋权grant read,write on directory DMP to username;--给该用户赋权grant read,write on directory BSSDATE11B to username;--给该用户赋权
4、再用刚才创建的用户登录一下数据库现在你已经成功创建了一个oracle 数据库的用户啦
5、方法二:用sqlplus命令创建1.打开命令控制窗口2.使用oracle用户登录
6、执行以下语句,就可以输入sql语句啦sqlplus / as sysdba
7、输入下谱驸扌溺列语句(必须一句一句执行哦,不然会报错的)create userusernameidentified bypassword;--创建用户名和密码grant creat髫潋啜缅e session tousername;--给该用户赋权grant unlimited tablespace tousername;--给该用户赋权grant create table tousername;--给该用户赋权grant drop any table tousername;--给该用户赋权grant insert any table tousername;--给该用户赋权grant update any table tousername;--给该用户赋权grant dba tousername;--给该用户赋权grant read,write on directory DMP tousername;--给该用户赋权grant read,write on directory BSSDATE11B tousername;--给该用户赋权每句执行完后会告诉你执行是否成功的
8、最后用你刚创建的用户登录下数据库,你已经成功创建了一个可用的数据库用户啦。