Windows 中的 Oracle11g的服务
正确安装后,可以从“服务”中,看到Oracle名下的各种服务。以后如果运行Oracle,需要至少启动TNSListener、OracleServiceOrcl这两个服务。
启动,使用lsnrctl start;
启动数据库服务,使用net start oracleserviceorcl。
卸载
1、先使用Universal Installer删除安装的Oracle产品2,删除注册表中的如下项目(不同windows版本下, 略有不同)
HKEY_LOCAL_MACHINE\SOFTWARE\Oracle项
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Se rvices\Eventlog\Application\ 下的 oracle项
(3)HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Se rvices\ 下的 oracle项
(4)HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Servic es\下的 oracle项
(5)HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Servic es\下的 oracle项3,删除环境变量中的相应的Oracle内容4,重启计算机,删除Oracle的所有安装目录
访问Oracle11g的工具
1,SQL*Plus --自带2,EM --使用https://localhost:1158/em 登录3,SQL Developer4,PL Sql/developer --流行工具5,TOAD
常用的SQL Plus命令
1,connect --连接用户2,show user --显示当前用户3,clear screen --清屏4,spool --输出SQL语句5,edit6,set time on --SQL>上加上时间 set time off 来关闭7,show error --上一条语句的错误信息8,host --执行DOS命令
9, @d:\1.sql --执行SQL脚本语句
忘记密码修改密码
在运行中输入cmd,在命令行中输入 sqlplus /nolog
connect/as sysdba
alter user sys identified by 新密码;
alter user system identified by 新密码;
alter user SCOTT identified by 新密码;
ORA-28000: the account is locked-的解决办法
sqlplus /nolog
conn sys/sys as sysdba;
alter user SCOTT account unlock;
commit;
Oracle11g——Oracle 简介
标签:sqlserver mac 数据处理 info 错误信息 color edit 注册表 电子
本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉 本文系统来源:https://www.cnblogs.com/xiaoruilin/p/13276808.html