在 Oracle Autonomous Database 中创建用户
在使用 PTC 解决方案安装程序 (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;