Solved

When we install oracle 10g client 10.2.0.1.0

Posted on 2008-10-13
5
748 Views
Last Modified: 2013-12-18
When we install oracle 10g client 10.2.0.1.0 is there any default database in that.?
If not how can we access database from a server machine..?
0
Comment
Question by:dbaseek
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 1

Expert Comment

by:rehan_k99
ID: 22700858
when u select typical installtion installer ask for create default database. If you have selected custom option then after installtion you can create new default database using database configuration assitence.
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 22701257
Indeed there is a default database available during installation.

In case that you wonder why a custom created database takes so long in contrast to the default database.

The default Database is just cloned from CD not created.

Still even the cloned database is a good start. You can find the emp example in it.

http://www.orafaq.com/wiki/Import_Export_FAQ#How_does_one_use_the_import.2Fexport_utilities.3F

Tolomir
0
 
LVL 23

Expert Comment

by:David
ID: 22701935
Tolomir, I can certainly see a default database available when the database binaries are installed -- but the asker specified a "client" install -- as in client-server without the server.  I'm going to answer "no" until I can dig up my software CDs..  
dbaseek, your second question is how to access a database from the server -- I'm confused about your terms, as I understand them.  For example, SQL*Plus is the command line interface typically used on a client, to establish a TCP/IP connection through the listerner to a database instance on a server.  It's also common for some users to telnet or secure shell into a remote server, establish a user session, then execute SQL*Plus on the host to reach the database on the host.
Does that help or am I way off here?  
Regards,
dvz
zone expert
0
 
LVL 4

Accepted Solution

by:
ytarkan earned 500 total points
ID: 22702029
If we are talking about installing "client" as you said then there is no default database. And there is no predefined connection definition to any database neither. As for the second part of your question, you need to define a tnsnames entry in tnsnames.ora file in machine that you want to make connection from. (not the server machine that holds the database)

tnsnames.ora file should be typically under "..\oracle\product\10.2.0\client_1\network\ADMIN" directory and a sample entry looks like :

OraSrv1 =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST =  10.34.0.231)(PORT = 1521))
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = ORCL)
    )
  )

in your case you should change 3 things :
"OraSrv1" to any name you want it is just an alias,
"10.34.0.231" to IP address of Oracle Server that holds the database
"ORCL" to SID name of your ORacle server (If you didnot changed SID name during DB creation leave it as orcl since it is the default db name)
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 22702275
dvz - yes you are right. Must be more careful with the question asked.
Did read rehan_k99's comment and thought we are at the server side.

Seems like it's not so easy to separate between a server AND a client.
Oracle can be really difficult ;)

Tolomir
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.
Suggested Courses

630 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