有時需要資料遷移建乙個新的不如直接建個新使用者,不用時把使用者刪掉
許可權一定要夠
create
user
zs identified
bypassword; --zs為使用者名稱,passaw為mima
grant
create
session
tozs ;
grant
connect
,resource
tozs ;
grant
create
anysequence
tozs ;
grant
create
anytable
tozs ;
grant
delete
anytable
tozs ;
grant
insert
anytable
tozs ;
grant
select
anytable
tozs ;
grant
unlimited
tablespace
tozs ;
grant
execute
anyprocedure
tozs ;
grant
update
anytable
tozs ;
grant
create
anyview
tozs ;
create
tablespace
tempdb
datafile'--
此處為linux
下oracle
的路徑size
5g
autoextend
onnext5g
maxsize
10g;
alter
user
zs default
tablespace
tempdb;
1、 方法一使用
sqlplus匯入
imp zs/[email protected]:1521/orclxawsfile=e:\xaws_workspace\tc_project\ devlop\db\xawsdzyz.dmp fromuser=zs touser=zs
mysql 建新使用者
1 建立使用者 create user username host identfied by password username 使用者名稱 host 指定在哪個主機上可以登入,本機可用localhost,通配所有遠端主機 password 使用者登入密碼 2 授權 grant all privil...
SQL 建新使用者等
1 進入sysdba裡邊,輸入 conn as sysdba 2 建立使用者scott,口令是tiger,輸入 create user scott identified by tiger 3 給scott授權,輸入 grant connect,resource to scott 4 進入scott使...
oracle 建立新使用者
create the user create user personnel manage identified by mwq default tablespace users temporary tablespace temp profile default quota 1024m on sysau...