oracle12c创建用户scott和ORACLE 12C EM Express 进入方法 (转载)
2017-07-10 22:12
543 查看
近期使用win10安装新版Oracle和客户端工具,遇到一些问题,也寻找了些解决方法,与大家分享,有不足之处或相关疑问及时留言!
第一步:创建用户scott
进入cmd命令窗口,连接oracle数据库 (也可以直接用sql plus)
sqlplus / as sysdba
创建c##scott用户(这里创建的用户为:c##scott,密码为:tiger)
create user c##scott identified by tiger
为用户授权
grant connect,resource,unlimited tablespace to c##scott container=all;
设置用户使用的表空间
alter user c##scott default tablespace users;
alter user c##scott temporary tablespace temp;
使用c##scott用户登录
connect c##scott/tiger
显示当前登录的用户
show user
使用SQL Developer创建连接,并使用c##scott用户登录
第二步:ORACLE 12C EM Express 进入方法 (成功登陆后可利用 sys 账户新增用户!!)
Copyright (c) 1982, 2014,
Oracle. All rights reserved.
请输入用户名: system
输入口令:
上次成功登录时间: 星期五 1月 09 2015 18:42:49 +08:00
连接到:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing opt
ions
SQL> show parameter dispatchers;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dispatchers string (PROTOCOL=TCP) (SERVICE=oracle
12cXDB)
max_dispatchers integer
SQL> exec dbms_xdb_config.sethttpport(8088);
PL/SQL 过程已成功完成。
第一步:创建用户scott
进入cmd命令窗口,连接oracle数据库 (也可以直接用sql plus)
sqlplus / as sysdba
创建c##scott用户(这里创建的用户为:c##scott,密码为:tiger)
create user c##scott identified by tiger
为用户授权
grant connect,resource,unlimited tablespace to c##scott container=all;
设置用户使用的表空间
alter user c##scott default tablespace users;
alter user c##scott temporary tablespace temp;
使用c##scott用户登录
connect c##scott/tiger
显示当前登录的用户
show user
使用SQL Developer创建连接,并使用c##scott用户登录
第二步:ORACLE 12C EM Express 进入方法 (成功登陆后可利用 sys 账户新增用户!!)
Copyright (c) 1982, 2014,
Oracle. All rights reserved.
请输入用户名: system
输入口令:
上次成功登录时间: 星期五 1月 09 2015 18:42:49 +08:00
连接到:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing opt
ions
SQL> show parameter dispatchers;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
dispatchers string (PROTOCOL=TCP) (SERVICE=oracle
12cXDB)
max_dispatchers integer
SQL> exec dbms_xdb_config.sethttpport(8088);
PL/SQL 过程已成功完成。
相关文章推荐
- Oracle 12c 使用scott等普通用户的方法
- Oracle 12c 数据库中创建scott用户
- oracle 中scott用户的创建方法
- Oracle 12c如何创建scott用户
- Oracle 12c 使用scott等普通用户的方法
- 【Oracle】sys/system/scott用户密码恢复方法【转载】
- Oracle_11g中解决被锁定的scott用户的方法(转载)
- oracle 11g 没有scott用户下emp的创建方法
- Oracle 12c 数据库中scott用户不存在的解决方法
- oracle 12c 创建用户失败的解决方法
- oracle 12c 创建用户失败的解决方法
- Oracle 12c 数据库中scott用户不存在的解决方法
- oracle 11g 没有scott用户下emp的创建方法
- Oracle 12c中添加scott用户的方法
- Oracle12c中scott用户的创建方法
- 【Oracle】Oracle 创建用户及数据表的方法
- oracle忘记sys/system/scott用户密码的解决方法
- oracle em和创建用户
- Oracle创建表空间、创建用户以及授权、查看权限 、scott解锁
- 【经验】使用Oracle的SQL Developer创建用户方法