Solved

Not able to create database in oracle 10g

Posted on 2008-10-14
5
1,183 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
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 setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

862 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

23 Experts available now in Live!

Get 1:1 Help Now