建立用戶後而且指派權限:sql
- 使用
sqlplus
命令行工具經過命令行來訪問 Oracle
sqlplus user/password <as sysdba|as sysoper> ide |
若是你的登陸用戶使用的是 'sys' 你須要將 "as sysdba" 或 "as sysoper" 來肯定你但願使用的何種 sysy 權限。工具
- 建立 Confluence 用戶(例如
confluenceuser
),而後僅給這個用戶賦予下面的權限:
create user <user> identified by <password> default tablespace <tablespace_name> quota unlimited on <tablespace_name>; spa grant connect to <user>; 命令行 grant resource to <user>; code grant create table to <user>; 對象 grant create sequence to <user>; ci grant create trigger to <user>; get |
- Confluence 這個必須用戶具備上面描述的的權限。Confluence 僅僅要求上面的這些權限就能夠了,所以你須要指派特定的權限給這個用戶。這個用戶不須要建立表,建立序列,建立觸發器這些權限角色。
- 不要賦予這個用戶
select any table
權限。這個權限將會致使其餘 schemas 的問題。
- 當你建立用戶的時候,爲上面顯示錶對象指定
tablespace
。
https://www.cwiki.us/display/CONFLUENCEWIKI/Database+Setup+for+Oracleit