<!-- /* Font Definitions */ @font-face {font-family:宋体; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:SimSun; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"/@宋体"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0cm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:宋体; mso-font-kerning:1.0pt;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:1036999814; mso-list-type:hybrid; mso-list-template-ids:-2127910730 2100229476 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;} @list l0:level1 {mso-level-tab-stop:18.0pt; mso-level-number-position:left; margin-left:18.0pt; text-indent:-18.0pt;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} -->
【运行环境】:
1. WindowsXP Prosessinoal SP2
2. Oracle 10g
【主要步骤】:
步骤1 : 以管理员身份登录,停止了所有Oracle 服务。在卸载Oracle 组件之前,首先必须停止Oracle 服务。
具体方法:打开“ 管理工具” ,选择“ 服务” ,停止以Oracle 或Ora 开头的且处于“ 已启动” 状态的每个 Oracle 服务,然后退出“ 服务” 。
步骤2 : 用Database Configuration Assistant 或DBCA 卸载数据库
使用该方法可将数据库连同其物理文件和目录全部删除(可选)。
步骤3 : 使用Oracle Universal Installer 卸载Oracle 组件
在全部停止了Oracle 服务后,启动Oracle Universal Installer ,选择“ 卸装产品” 按钮,然后选中要卸载的组件并单击“ 删除” 按钮。
步骤4 : 对注册表中 Oracle 相关的键值进行删除。
在运行窗口中输入 regedit 对注册表进行编辑
4.1 选择 HKEY_LOCAL_MACHINE/SOFTWARE 键值下的所有与 ORACLE 相关的键值全部删除。
4.2 HKEY_LOCAL_MACHINE/SYSTEM/ControlSet001/Services/
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet002/Services/
HKEY_LOCAL_MACHINE/SYSTEM/ControlSet003/Services/
下的 oracle 相关服务:
OracleDBConsoleORCL
OracleJobSchedulerORCL
OracleOraDb10g_home1iSQL*Plus
OracleOraDb10g_home1TNSListener
OracleServiceORCL
4.3 HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/Eventlog/Application ,
删除所有 Oracle 相关的键值。
Oracle.orcl
OracleDBConsoleORCL
OracleOraDb10g_home1iSQL*Plus
步骤5 : 对 Oracle 安装目录进行删除
C:/Program Files/Oracle
D:/ Oracle
步骤6 : 对当前系统的环境变量进行清除。
开始->设置->控制面板->系统->高级->环境变量
删除环境变量 CLASSPATH 和 PATH 中有关 Oracle 的设定。
步骤7 : 重新启动操作系统,重新对 Oracle 进行安装。