How Other PCs connect to Database

Hi,
I'm very new on Database. What I would like to do is install Database version 9i to a machine using Window XP Professional and let other PCs connect to this machine. How do I need to do? Please anyone kindly recommend how to do this.
Many thanks,
Santi B.

In the final configuration, you want one machine to be the 'server' and one to be the 'client'.
Server specification:
- network connectivity (these days, simple TCP/IP is pretty much good enough)
- a well known network name (well known implies it doesn't change often)
- a well known or easily resolvable network address (IP address in DNS or a hosts file)
- the server softwre installed and listening on the network.
Client specification:
- network connectivity
- a way to 'find' the server (etc/hosts or DNS)
- client software
Network connectivity - simple TCP/IP should do the trick. But you want to have constant and simple-to-use computer names instead of IP addresses to make the communication easier.
Analogy: You have a bunch of friends. You want to go to Fred's house. You look in your address book to translate "Fred's house" to "123 Anywhere Street".
When your client wants to connect to 'PC1' it looks up the IP address for PC1 in the /etc/hosts file (in Windows, look at C:\windows\system32\drivers\etc\hosts. file) OR in a bigger organization, it uses a central DNS database to do this 'host name resolution'.
Server:
To install Oracle, a static or fixed address is 'required'. Most people with WIndows end up installing the Loopback Adapter to get a local IP address (127.0.0.1) However, that address is local to the machine. You need to add or use an address that is visible to the other machine as well. That is well documented on the 'net and is outside the scope of this forum.
Once the server's address is known, the information is made available to the client. The client should be able to 'ping' the server (on command line, enter 'ping servername').
The database server uses the database 'listener' to monitor the network. The listener must be
- up (Control Panel > Admin Tools > Services -or- command line 'lsnrctl start') ;
- listening on the network for the server, on a certain port (lsnrctl status)
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=myserver)(PORT=1521)))where myserver is the server's name as found the the hosts file, 1521 is the port. This is controlled by the %ORACLE_HOME%\network\admin\listener.ora file. (A common problem is the mismatch of the host name in that file and the PC's host name.)
And the listener must be aware of the database once the database is started. Agains, from lsnrctl status
Service "TEST" has 1 instance(s).
  Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
  Instance "xe", status READY, has 1 handler(s) for this service...
Service "xe" has 1 instance(s).
  Instance "xe", status READY, has 1 handler(s) for this service...which tells me that clients asking for access to service 'TEST' or to service 'xe' will be directed to the 'XE' database instance.
Client:
The client can be any machine on the network, including the server, as long as it has the appropriate client software installed.
Requirements:
- TCP/IP with a hosts file that resolves to (has an entry for) the server (or resolves using DNS)
- Oracle client install
- the %ORACLE_HOME%\network\admin\tnsnames.ora file that translates the 'database alias' to a {host + port + service} set. See Two Oracle base in the same server for a typical tnsnames.ora file.
When installed properly, the client should be able to (form the command line)
ping server <- server found in /etc/hosts and in host part of tnsnames.ora
tnsping database-alias <- database-alias found in tnsnames.ora on left of a DESCRIPTON
sqlplus system/password@database-alias
note that "sqlplus / as sysdba" needs additional config, but routine remote admin with sysdba is not a 'best practice'.
Hope that helps

Similar Messages

  • How do we connect two databases in Oracle other than Database Link?

    Good Morning,
    How do we connect two databases in Oracle other than Database Link?
    I am using Oracle 10g, I heard that we can connect two database in Oracle through ODBC. Is it possible? How?
    Thanks
    Nihar

    See if this helps.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206#18830681837358

  • How Middle Tier connect to Database Tier?

    Desktop tier never directly interact with Database tier. It is the Application tier which is also called Middle tier that connect to Database tier to fullfill the end user request.
    My question is how Application tier interact with Database tier under the hood?
    I know Middle tier consist of Forms Server, Report Server, Concurrent Server, Web Server, Administration Server.
    Let's say I want to know how Concurrent Server connects to Database tier? which file or connection does it use?
    Similery how does Forms Server, Reports Server, Web Server interact?
    Any overall/broad picture of this whole structure?
    Thanks,

    Refer to [Oracle Applications R12 Concepts|http://download.oracle.com/docs/cd/B40089_09/current/acrobat/120oacg.pdf] and [Oracle Applications 11i Concepts |http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf] manuals, it is explained properly there.

  • How sap application connect oracle database

    The gurus,
    I just to known how sap application connect to oracle database. Where or what the configuration files at SAP level and oracle level.
    Thank you
    Edited by: Muzaidi Marjuki on Apr 28, 2011 8:58 AM

    existing database to other database that also running on oracle ( right now we testing for recovery server) in case the existing server going down or have a problem that cannot been restore
    Its similar to DR setup, then why don't you install application at time of initial installation of DR?
    *Explain in  detial with a clear query
    Regards,
    Nick Loy

  • [b]How can i connect with database(oracle 9i) from form developer at runtim

    Hi Friends,
    My problem is as follows, please show me a way.
    Let's asume, I have form (developed in 6i) which has database data block. Now, at form level a have assigned on_logon trigger and I have written the following PL/SQL statement in that trigger:
    begin
    null;
    end;
    So, when I run this form without connecting to database It does not prompt for a connection. Now I have button lebeled as "Connect" in this form, when user will click on it it will display a window having text boxes to enter user name, password and database name; once the user fill those text boxes and click on a button lebeled as "Ok" then the form runtime environment should be connected with database as per information provided by user. Here to mention that the user already been created, only the connection will be stablished. For example: I want to connect the form with database as "scott/tiger@oradata9i".
    To do this, what PL/SQL command statement should i write in that "OK" button's "when_button_pressed" trigger?
    If any of you know about this please help me.

    Hi
    I've answered this question already. If I understand you right, you can use 'LOGON' built-in of Forms. Take a look into documentation.

  • HOW TO establish connection to database in netpoint in sample aspx page

    Hi ,
    Can anyone to help me to establish database connection using netpoint dll ,pls guide me.

    Hi Kannan,
    you will find the connection string that the Netpoint API needs in the NPSynchConfig.XML file which is in whatever folder you installed the Netpoint Synch Tool, just copy the value of the NPConnString.
    Most of the time you need to make a "connection" to the database via the API, you just set the NPConnection.GblConnectionString static member to this value, any function that requires a connection will take the global NPConnection object as a parameter
    Is that what you are looking for, or is there a specific requirement?

  • How to connect to database for all the reports FR

    Hi,
    I have developed 100 reports in production client, for testing purpose I have moved to
    test client. How can I connect to database for all the reports at a time?
    Regards
    Taruni

    Hi Taruni,
    You can connect to the database connection for all the reports through workspace in HFM.
    Connect to HFM Workspace-->click on Explore option-->and click on Tools-->click on Data Base Connection Manager and change the respective connections from Production Instance to Test Instance with required information, and than you will be able to connect to Test database for all the reports at a time.
    Regards,
    Srikanth

  • How can i connect more  than one database

    i would like to connect more than one database one my laptop
    now i have database one and sid=ddms
    and i would another such as sid=ddmf
    how can i connect two database on the same my laptop

    I am not sure what you mean by after built? Are you trying to export data from one database and import it into another? If so, export it using data pump making sure you have the correct ORACLE_SID. Also be sure both database have to same character set. Then change the ORACLE_SID to other database, and run data pump to import the data into the other database. Hope that makes any sense...

  • Oracle Enterprise Manager can't connect to database after installation

    Hello, I have a problem with Enterprise Manager. I installed Oracle 10g and the patch 10.2.0.2. After install, I could connect to database from SqlPlus without problems, but when I try to connect from AllPrograms - Oracle - DatabaseControl or since the Web browser with http://servername:1158/em nothing happen. I reviewed the status of dbconsole with emctl status dbconsole but the status is running. I recreated the repository with emca -deconfig.......-repos drop and emca -config ...... -repos create , but nothing happened. I reviewed some threads in this forum, but I didn't find the solution. Finally I could connect from the browser but with http://localhost:1158/em. Do you help me how can I connect from Database Control, because the operators in Computer Center should monitor the instance since there, and when I want to connect since my own PC how can do it?
    Thanks for your help and excuse my English, I am from Bogot&aacute; Colombia.
    Sincerely Rub&eacute;n

    Hi,
    Check the network connectivity between db server and pc from where u want to access em.
    Check the listener service.
    Check firewall settings, it should be off.
    Regards,
    Xaheer

  • How to do connectivity to JDBC on Linux platform

    Hello friends!
    I am novice user of JSP & JDBC. I dont know how to make connectivity with database using JDBC driver and that is using Linux paltform. I read one tutorial for that they have given some code. But they have used <% import java.sql%> . The database I am using is PostgreSQL. So how to do that?
    Plese help me ! Thank you in advance!

    Same as JDBC on any other platform. Java and JDBC are OS independent.
    The java.sql package is part of the JDK, of course. No action required.
    If you're using PostgreSQL, you have to get their JDBC driver JAR and put it in your app's CLASSPATH.
    Then you should review this.
    %

  • Connecting to database -- New Bie Pl help

    Hi all,
    I have posted this question y'day & somebody asked me to post in this forum. So I thought I would. My question is :
    How to I connect to database. I know some thing to get connected to database. If I am not wrong,
    I will be needing a driver, datasource. If i am missing anything then please let me now.
    I will be using jdbcodbc bridge driver which we get by default when we download jdk. But how do i create datasource. I want to use Tomcat as my server.
    Please help me in this regard. I have heard of mySQL as free database. Is it true & how do I use it.

    Here's more help:
    http://developer.java.sun.com/developer/Books/javaprogramming/begjava2/ch19.pdf
    What does Tomcat have to do with this? Is this for a J2EE app? If you're just using straight Java (no J2EE, JSP, etc), then you don't need Tomcat.
    jdbcodbc is for talking to Microsoft Access databases from Java - if you are using MySQL, Oracle, Sybase, or most of the others, you will need a database specific driver module.

  • How do I connect from mysql to visual studio 2013

    Hi,
    So currently, I have a database in mysql and I need to do the interface in visual studio.
    How do I connect the database to the interface in visual studio? I haven't create the interface yet because I don't know the right coding. Please help me.

    Take a look at the mysql .net connector. 
    http://dev.mysql.com/downloads/connector/net/

  • How can I connect to a different database schema,other than adobe?

    I'm building an application where I want to use a different database for it,for storing additional data for the users(different from "edcprincipaluserentity" table in "adobe" database stores)..How I can connect to my database schema created in MySQL from Workbench,to assign tasks to my users,using the Process Management/Assign Task service?

    You can only assign task to user that are known by the LiveCycle User Manager.
    When you configure LiveCycle, you can tell it where you want to get the users from. They can be created them locally in the local database, or synchronized from an LDAP directory in which case it'll read the users from LDAP and make a copy of some of the properties to the internal LiveCycle database.
    Bottom line, all users have an id (in the edcprincipalentity table) in the adobe database.
    If you need your users to come from a different database, then you need to customize the SPI (security provider interface) so that you can synchronize the users coming from your external database. Again, this is a customization since out of the box, we don't synchronize against external database. But it is possible, the API is there and other customers have done it.
    I hope this clarifies things a bit.
    Jasmin

  • How a user of external database can be connected to other database

    Hi
    I have two databases A and B. I have one user XYZ on database B.we want user XYZ to be connected to database A and also wants to create few tables on database A. Can you please tell me what are list of steps i need to perform.
    Regards,
    RJ.

    You can create a database link between database A and B to manipulate data in database A while connected to B. But you cannot create tables using database links. It does not allow DDLs in remote database. Tranparent gateway is a database link between oracle and some other database.
    Syntax is to create the link in B is
    create database link <name> connect to <user_in_A> identified by <password_in_A> using 'A';

  • How to find the number of users  connected to database from OS level(Linux)

    Hi All,
    Could anyone know , how to find the number of users connected to database without connecting with sql*plus
    is there any command to find it?
    example we have 10 databases in one server, how to find the number of users connected to particular database without connecting to database(v$session)?
    oracle version:- 10g,11g
    Operating System:- OEL4/OEL5/AIX/Solaris
    any help will be appreciated.
    Thanks in advance.
    Thank you.
    Regards,
    Rajesh.

    Excellent.
    Tested, works as long as you set the ORACLE_SID first ( to change databases )
    ps -ef | grep $ORACLE_SID | grep "LOCAL=NO" | awk '{print $2}' | wc -l
    Thanks!
    select OSUSER
        from V$SESSION
    where AUDSID = SYS_CONTEXT('userenv','sessionid')
        and rownum=1;Best Regards
    mseberg

Maybe you are looking for

  • How can I install windows 7 on MBA

    HI , Can some one help me to solve how can I install Windows 7 64 bits on my Macbook air 13" on Max OS X Mavericks I tried to follow what they recomend bout bothing happend Boot camp assistance does help me anything. I don't know why it is so complic

  • Problem with field "batch number" and table "et_item" at  BBP_CONF_CHANGE

    Hi experts!, I have a problem when I use the badi BBP_DOC_CHANGE_BADI and with the method BBP_CONF_CHANGE. I want to fill the field "batch number" at web SRM with the PO number, I thought to write it at suitable or appropriate field at table "et_item

  • OBIEE 11g Server running but URL dashboard not opening

    Hi My admin and BI manage server is running however i am not able to open the Dashboard. it is giving me the below URL... Error 500--Internal Server Error From RFC 2068 Hypertext Transfer Protocol -- HTTP/1.1: *10.5.1 500 Internal Server Error* The s

  • DE 1.5 and 1.6 does not store the last position correctly

    Hi! I've seen this problem in DE 1.5, now I tried to install 1.6 and I see the problem is still here. I have some DRM-protected ebooks on my laptop. I open one of them, read, close on some page (for example, 162). Then I open another ebook, close it.

  • Run as dialog box, is this normal?

    I have run several seaches in the forum and google and can not seem to find or phrase my question correctly. Dialog box says "run as. which user account do you want to use to run this program." I have a dell, that has multiple user accounts, the acco