Oracle创建用户、表(1)

1. 连接

C:\Users\LEI>sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on 星期五 422 10:17:52 2016

Copyright (c) 1982, 2014, Oracle.  All rights reserved.


连接到:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

Oracle创建用户、表(1)

2. 修改密码/创建用户OLAPSYS

SQL> alter user OLAPSYS identified by 123456;

用户已更改。

3. 授权登录

SQL> grant create session to OLAPSYS;

授权成功。

Oracle创建用户、表(1)

3.1 解锁用户,如果用户锁定(默认锁定)

如解锁OLAPSYS用户

alter user olapsys account unlock;

3.2 在CMD中连接

conn olapsys;

4. 打开SQL Developer工具本地连接

Oracle创建用户、表(1)

5. 创建表,确定

Oracle创建用户、表(1)

6. 查看表,点击刷新 后可以查看到创建的表

Oracle创建用户、表(1)

解决:

1.0 用户名密码错误无法的登录问题
执行步骤2. 修改密码/创建用户OLAPSYS
2.0 没有 CREATE SESSION 权限; 登录被拒绝 01045.
执行步骤3. 授权登录

相关文章:

  • 2022-12-23
  • 2021-06-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-02-07
猜你喜欢
  • 2023-02-20
  • 2021-12-09
  • 2022-12-23
  • 2022-01-15
  • 2021-06-14
  • 2022-12-23
相关资源
相似解决方案