Solved

Not able to create database in oracle 10g

Posted on 2008-10-14
5
1,179 Views
Last Modified: 2013-12-18
Not able to create database in oracle 10g.I am using todd to connect to oracle 10g express edition.
when i say
create databe test_db
it is giving error message saying
ORA-01501: create database failed
CREATE DATABASE failed
Cause: An error occurred during create database
Action: See accompanying errors.
ORA-01100: database already mounted.
I was able to create tables and able to do all other sql commands using todd on oracle 10g.
I am using windows vista laptop.Please suggest me how can i create database so that in the next step i can run one .sql file to create the tables etc structure.Thanks in advance
0
Comment
Question by:gudii9
5 Comments
 
LVL 7

Assisted Solution

by:grzessio
grzessio earned 50 total points
ID: 22718373
your database must be in nomount state:
try to shutdown database and start in nomount state:
startup nomount
0
 
LVL 27

Assisted Solution

by:Tolomir
Tolomir earned 250 total points
ID: 22720085
Oracle express edition is a complete package that installs a database by default.
So I suppose that there is no way to install a 2nd database.

Please follow directions on http://st-curriculum.oracle.com/tutorial/DBXETutorial/html/module2/loaddata2.htm

to see how to create a new structure.

This is the complete tutorial: http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm

Tolomir
0
 
LVL 1

Accepted Solution

by:
xenetar earned 200 total points
ID: 22734360
Tolomir is right... if you're already in a "mount" state, then there is already a database created.   An instance can only have one database.  You would need to delete the pre-created database and create a new one.  

Why not just use the database provided? (probably name "ORAC" or something)


0
 
LVL 27

Assisted Solution

by:Tolomir
Tolomir earned 250 total points
ID: 22738661
The entire management can be done with the webinterface that comes with oracle XE.

So you should use this to adapt the database to you needs.

Follow the instructions (in flash) from this site http://st-curriculum.oracle.com/tutorial/DBXETutorial/index.htm and you should be able to solve the problem.




0
 
LVL 7

Author Closing Comment

by:gudii9
ID: 31506172
thank you all for your help
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Join & Write a Comment

Suggested Solutions

Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now