在 Oracle Autonomous Database 中建立使用者
在使用 PTC Solution Installer (PSI) 安裝 Oracle Autonomous Database 之前,請使用 SQL 用戶端工具建立使用者,並在安裝期間使用其認證。如需詳細資訊,請參閱
輸入您的資料庫資訊。
請遵循下列步驟來建立使用者:
1. 使用具有管理員使用者認證的 SQL 用戶端工具 (例如 sqlplus) 連線至 Oracle Autonomous Database。
2. 使用下列指令建立一位使用者:
SQL> create user &&user identified by &&password;
Enter value for user: <user>
Enter value for password: <password>
old 1: create user &&user identified by &&password
new 1: create user <user> by <password>
3. 使用下列指令將必要權限授與使用者:
SQL> grant connect, resource to &&user;
SQL> grant create sequence, create view, unlimited tablespace to &&user;
SQL> undefine user;