标签:oracle
最近有时间学习oracle了,把学习的过程整理出来,漫漫学习路,现在才刚刚起步。
1.#su - oracle
2.启动监听
$ lsnrctl start
3.启动em
$ emctl start dbconsole
http://192.168.88.139:1158/em/
4.启动iSQL*Plus
$ isqlplusctl start
http://192.168.88.139:5560/isqlplus/
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;
本文出自 “卡卡西” 博客,请务必保留此出处http://whnba.blog.51cto.com/1215711/1592757
标签:oracle
原文地址:http://whnba.blog.51cto.com/1215711/1592757