nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

How To Create and Use Database In Oracle Server

This is a discussion on How To Create and Use Database In Oracle Server within the Databases servers forums, part of the Mastering Servers category; Excuse me, I had installed oracle in my PC for doing assignment, but I am a new user of oracle. ...

Register free or login to your existing account and remove all advertisements.


Go Back   nixCraft Linux Forum > Mastering Servers > Databases servers

Linux answers from nixCraft.


Databases servers Discussions of databases of all types - especially MySQL.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-11-2009, 05:39 AM
Junior Member
User
 
Join Date: Jul 2009
OS: windows xp
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
garvitdalal is on a distinguished road
Post How To Create and Use Database In Oracle Server

Excuse me, I had installed oracle in my PC for doing assignment, but I am a new user of oracle. I have some problems when trying oracle.

The first one is, how to create database in oracle? Actually I know the statement is "CREATE DATABASE xxx", but I don't know why I can't create it, the database said I don't have enough authority. When installing Oracle, two a/c passwords must be satisfied, sys and system. But when I want to use sys a/c to login, I don't know why the password is wrong, so I use system a/c to login, but it say not enough authority to create database, what can I do for this situation?

The second one is, how to use various databases using sql commands in oracle.., as we can do in mysql(use database <database_name>)

Thank you for those members.
Reply With Quote
  #2 (permalink)  
Old 07-11-2009, 07:01 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Posts: 2,452
Thanks: 11
Thanked 189 Times in 139 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Oracle uses different commands to create database. You need to set SID. Are you on Windows or UNIX host? Have you tried out GUI and Webbased tools?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 07-12-2009, 06:01 AM
Junior Member
User
 
Join Date: Jul 2009
OS: windows xp
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
garvitdalal is on a distinguished road
Post

i work on windows ...
wud u direct me how to use the above mentioned tools......
thanking you
Reply With Quote
  #4 (permalink)  
Old 07-13-2009, 12:48 AM
chimu's Avatar
Contributors
User
 
Join Date: Mar 2005
OS: Ubuntu
Posts: 79
Thanks: 23
Thanked 4 Times in 3 Posts
Rep Power: 5
chimu is on a distinguished road
Default

Open browser and type http://127.0.0.1:8080/apex

Login as system and create database, users and other stuff.

There should be a GUI tool install under Oracle - On Windows Server or XP, from the Start menu, select Programs (or All Programs) and then Oracle Database 10g Express Edition.
Reply With Quote
  #5 (permalink)  
Old 07-13-2009, 03:05 AM
Junior Member
User
 
Join Date: Jul 2009
OS: windows xp
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
garvitdalal is on a distinguished road
Post

but i hav got oracle 9i, ......
and the link is also not working
Reply With Quote
  #6 (permalink)  
Old 10-14-2009, 03:43 PM
Banned
User
 
Join Date: Oct 2009
OS: Debian
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
webworld is on a distinguished road
Default hiiiiii

You can create an Oracle Database in three ways:
  • Use the Database Configuration Assistant (DBCA).
    DBCA can be launched by the Oracle Universal Installer, depending upon the type of install that you select, and provides a graphical user interface (GUI) that guides you through the creation of a database. You can also launch DBCA as a standalone tool at any time after Oracle Database installation to create or make a copy (clone) of a database. Refer to Oracle Database 2 Day DBA for detailed information on creating a database using DBCA.
  • Use the CREATE DATABASE statement.
    You can use the CREATE DATABASE SQL statement to create a database. If you do so, you must complete additional actions before you have an operational database. These actions include creating users and temporary tablespaces, building views of the data dictionary tables, and installing Oracle built-in packages. These actions can be performed by executing prepared scripts, many of which are supplied for you.
    If you have existing scripts for creating your database, consider editing those scripts to take advantage of new Oracle Database features. Oracle provides a sample database creation script and a sample initialization parameter file with the Oracle Database software files. Both the script and the file can be edited to suit your needs. See "Manually Creating an Oracle Database".
  • Upgrade an existing database.
    If you are already using a earlier release of Oracle Database, database creation is required only if you want an entirely new database. You can upgrade your existing Oracle Database and use it with the new release of the database software. The Oracle Database Upgrade Guide manual contains information about upgrading an existing Oracle Database.
The remainder of this chapter discusses creating a database manually.

Last edited by nixcraft; 10-14-2009 at 04:27 PM. Reason: Spam and self promotion Links not allowed
Reply With Quote
Reply

Tags
oracle databse creation


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Oracle Database Front End gh0str1der76 Databases servers 0 05-31-2009 01:59 PM
Mounting a file server with data from a sql database. sempinsenzai File Servers 0 12-17-2008 06:20 AM
Download Windows XP Oracle Server eawedat Databases servers 4 11-08-2008 11:17 PM
Installing oracle database on debian raj Databases servers 1 08-16-2007 08:00 PM
How to List my tables in Oracle database Databases servers 3 12-20-2006 04:25 PM


All times are GMT +5.5. The time now is 06:28 PM.


Powered by vBulletin® Version 3.8.4 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2009 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38