Oracle XE manually build a DB instance

Source: Internet
Author: User

Resources are:

"Oracle XE Series III" Manually create Oracle XE database using OMF-Wang Lifu-Blog Park
Http://www.cnblogs.com/opfo/p/5056122.html

Environment: win7_64

Open cmd with administrator

1. Create a DB instance with the instance named ORCL

Oradim-new-sid ORCL

Error: dim-00014: Could not open Windows NT Service Control Manager. os-error: (OS 5) denied access.

Workaround: Run as an administrative identity.

2. For SYS users can connect to the database to perform operations, first create the database password file, the password file name must be the PWDSid. Ora

Orapwd password=oracle file=c:\oraclexe\app\oracle\product\11.2.0\server\database\pwdORCL. Ora

Automatically generate Pwdorcl.ora files

3. Create the following directories to hold data files and dump information

#数据文件目录

C:\oraclexe\app\oracle\oradata\ORCL

#background Dump Directory

C:\oraclexe\app\oracle\oradata\ORCL\bdump

#core Dump Directory

C:\oraclexe\app\oracle\oradata\ORCL\cdump

#user Dump Directory

C:\oraclexe\app\oracle\oradata\ORCL\udump

4. Modify Listener.ora for the following information, register this database in the listener (optional) under C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN

Oracle XE manually build a DB instance

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.