Step by step: How to completely delete an Oracle database

Source: Internet
Author: User

Step by step: How to completely delete an Oracle database

Many of my friends only use Oracle to delete the system. However, in many cases, he may find that the next installation page disappears when the system is re-installed, and he may have to reinstall the system, in fact, this is not the case if your database is not deleted.

Implementation Method:

1. Choose "start"> "Settings"> "Control Panel"> "Administrative Tools"> "services" to stop all Oracle services.

2. Start-> Program-> Oracle-OraHome81-> Oracle Installation Products-> Universal Installer uninstalls all Oracle Products, but the Universal Installer itself cannot be deleted.

3. Run regedit, select HKEY_LOCAL_MACHINESOFTWAREORACLE, and press del to Delete this entry.

4. Run regedit, select HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServices, and scroll

Delete all Oracle entries.

5. Run refedit and HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesEventlogApplication to delete all Oracle entries.

6. Choose "start"> "Settings"> "Control Panel"> "system"> "advanced"> "environment variables" to delete Oracle settings in the environment variables CLASSPATH and PATH.

7. Delete all groups and icons related to Oracle from the desktop, STARTUP group, and program menu.

8. Delete the Program FilesOracle directory.

9. restart the computer to completely delete the Oracle directory.

10. Delete Oracle-related files, select the default Oracle directory C: Oracle, delete the entry directory and all subdirectories, and run the Windows 2000 directory (generally C: WINNT) delete the following file ORACLE. INI, oradim73.INI, oradim80.INI, oraodbc. ini and so on.

11. Delete the [ORACLE] Tag segment in the WIN. ini file.

12. If necessary, delete all odbc dsn related to Oracle.

13. In Event Viewer, delete Oracle-related logs.

Note:

If some DLL files cannot be deleted, You can restart and start new installation. During installation, select a new directory. After the installation is completed and restarted, the old directory and files can be deleted.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.