您的位置:首页 > 博客中心 > 数据库 >

Oracle 10g学习系列(1)

时间:2022-03-14 04:09

    最近有时间学习oracle了,把学习的过程整理出来,漫漫学习路,现在才刚刚起步。


1.#su - oracle

2.启动监听

$ lsnrctl start 

3.启动em

$ emctl start dbconsole

4.启动iSQL*Plus

$ isqlplusctl start


5.连接数据库

[oracle@localhost ~]$ sqlplus / as sysdba


SQL*Plus: Release 10.2.0.1.0 - Production on Mon Dec 22 07:01:37 2014


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


Connected to an idle instance.


SQL> 

6.启动数据库

SQL> startup;

7.创建用户bob,密码admin

SQL>create user bob identified by admin;

8.把dba权限给bob

SQL>grant dba to bob;

9.取消授权

SQL>revoke dba from bob;

10.删除用户

SQL>drop user bob;

本文出自 “” 博客,请务必保留此出处

热门排行

今日推荐

热门手游