How to connect to remote oracle (10g and 11g) db Unix and window

Hi all
Hopefully an easy one.

I have two Linux RH configured oracle databases.
I use spfiles not ora.init files
I want to maintain the cleanliness of my db and so restrict access remote ones with nicknames known so that if something goes wrong, I can follow who/what/how the newspaper.

I want to enable users to connect both via call remote sqlplus to Unix and Windows.

Users must be able to emit a sqlplus user/pwd@host command and be taken to a connection on the server.

Q is:
Do I need on my server of the client/Oracle/Oraclelite/or access point what?

Q2. Should what command I similar to what I mentioned above?

Q3. Should I tnsnames.ora on each host in the customer?

Any help would be good on this.

Hi user633084!

the minimum requirement is that you have installed Oracle Clienttools about all your customers. After that, you need to configure a tnsnames.ora on each client with the descriptors for each DB connection. The command to connect to the DB from the client is sqlplus username/password@sid.

hope that helps

your sincerely

Tags: Database

Similar Questions

  • How to connect to remote Oracle through shell script server.

    Hi, I'm new to Shell scripting. I try to connect to remote oracle system, but I think Sqlplus not found error. I have sqlplus executable inside bin under oracle home, but still, I get the same error. can someone guide me to get this thing done.

    export ORACLE_HOME=/opt/oracle/oracle11g/product/11.2.0
    export NLS_LANG = American_America.US7ASCII
    export LD_LIBRARY_PATH = $ORACLE_HOME/lib: $LD_LIBRARY_PATH
    Export ORACLE_PATH = $ORACLE_HOME/bin
    export PATH = $ORACLE_HOME/bin: $PATH

    sqlplus-s/nolog < < EOF
    connect wcadmin / [email protected]:1521 / wctest98
    Select * twice;
    output
    EXPRESSIONS OF FOLKLORE

    Please describe in more detail what you are doing. You run scripts 2 or is it in a script? If you set the variables of Oracle in a separate script, you need to run the script.

    Source to run a script, the commands in the script are executed as if you type to the current command prompt. A script that is not executed source will lose the variables that you define in the script when the script stops. You can source run a script using the '. '. " script" or "source" (bash). The export command adds variables to the environment of the executed orders later.

    See the following examples:

    cat > shelltest <
    
    Test1:
    $ a=a
    $ ./shelltest
    
    $ echo $a
    a
    
    Test2:
    $ export a=a
    $ ./shelltest
    a
    $ echo $a
    a
    
    Test3:
    $ . ./shelltest
    a
    $ echo $a
    b
    
  • Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    Hello Sir: I use a generator of form of oracle 10g and I want to search on two dates using between.how it is possible.

    I guess its text fields are the date data type.

  • sqlplus to connect to remote oracle database server

    Hello

    I have the server database oracle 10g on solaris 10 and I usually connect using my account to solaris and run sqlplus on the server itself. This works!

    I downloaded and installed the client instant oracle for solaris 64 and I can launch sqlplus command but I'm confused on what should be the syntax of the command to connect to remote oracle and solaris 10 database server where I have the system account.

    I tried sqlplus help but still I could not correct syntax that may be used to authenticate to the oracle server.

    I tried

    sqlplus user@hostname:1512/SID

    then he asked for password, but when I typed the password and you press on enter, it gave some error

    but he still asked as username so I type user@SID and then prompt password - typed password and it works!

    so I do not understand what should be the correct syntax for that in the first attempt, I'm able to connect.

    If possible, please give the exact command with realworld examples, (I tried with sqlplus - help already)

    Thanks in advance.

    wonder what if I didn't tnsnames.ora on the client machine, how will be the syntax?

    You generally need (or at least strongly want) a file tnsnames.ora on the client machine.

    -You could configure Oracle Internet Directory and allow this product provide TNS alias resolution for the Organization (similar to the DNS configuration for a LAN).
    -Many tools (I have not personally tried SQL * more and it can be dependent on version) allow you to specify the whole TNS alias in the tnsnames.ora file (i.e. everything that follows the abcd.domain.com = entry) but which is extremely heavy for type
    -According to the version of the Oracle file sqlnet.ora, the complexity of your configuration client (that is, if you try to use the more advanced features such as failover), you may be able to use the syntax EZConnect

    sqlplus username/password@host:port:SID/service_name
    

    Where host is the server that the database is running, the port is the port the listener (i.e. 1521 default) listening and SID/service_name is the SID or service name, you are trying to connect to.

    Justin

  • form how to do that in oracle 10g

    Hi all
    the shape of any idea on how to format a disk by using oracle 10g and stopping the remote pc and a home pc using oracle Forms 10g.
    I am using windows XP2 operating system.

    Please review...

    You must use client_host, not host. When you use host, you are trying to shut down the server!
    And what is "remotely shutting down the pc? You want to tell someone to another pc? If it's your own pc, does not remotely, but locally.

    You can try this first to see if the dialog box appears:
    client_host (' cmd/c shutdown-i');

  • using the KDL-46W700 how to connect to the wireless keyboard and wireless mouse

    Hello

    I use KDL-46W700 how to connect to the wireless keyboard and wireless mouse

    Unfortunately, you can not connect a keyboard wirelessly on your TV. Your TV will need a driver for this. Sad thing, it's impossible to install anything on the tv, which includes the driver for the external devices such as a wireless (except USB) keyboard... I recommend the SIDEVIEW TV application that has the remote control / function keyboard and mouse... this app is free and can be downloaded via Google Playstore... ^^.

  • Info on Earphone for oracle 10g and 11g installed on systm unique

    Hello

    I installed oracle 10g n 11g on my system. I have question regarding oracle listening port.

    Oracle 10g, Listener.ora

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = kankala.kalyan) (PORT = 1521))
    )
    )


    Oracle 11g, Listener.ora

    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = CIP)(KEY = EXTPROC1522))
    (ADDRESS = (PROTOCOL = TCP (PORT = 1522))(HOST = kankala.kalyan))
    )
    )

    My question is why the names of the listener are same even if your are on different ports?

    and for disturbing people, why I installed 10 n 11 is
    Initially only oracle 11g has been installed on my system. Later, I learned for the first time forms and I have to connect to the database frm developer suite 10 g. so I installed oracle 10 g database.

    The names are the same, because this is the way which you created them.

    If you want to make a change to use NETCA to delete and recreate one of them.

    Just make sure that you have set ORACLE_HOME properly until you do.

  • Oracle 11g compatibility with oracle 10g and 9i?


    Hi all



    I have a few questions about the compatibility of 11g.



    Client Oracle 11g is compatible with oracle 10g client that is already installed on the desktop computer?


    If any changes to do so and where?



    Is oracle 11g oracle 10 g/9i on the same server where are installed the 10 g/9i compatible?


    Concerning

    If the question you ask yourself is 'Can I have multiple versions of the Oracle installed on the same client computer' or "Can I have several versions of the database Oracle installed on the same machine", the answer is Yes. As long as you install each version in another House of Oracle, and we are talking about versions 8.1.5 and upward, you can have as many different versions of the client and the database on the same machine as you wish. Of course, you are still subject to the support of operating system compatibility (e.g. Oracle 9.2 did not had been supported on Windows 2008, so do not expect to work).

    The only problem you may have would be with components that are not compatible with several House. This mainly affects third-party Windows drivers (drivers third party ODBC, etc.) who do not know how to work with multiple Oracle homes and end up using which version of the client Oracle happens to appear first in the path.

    Justin

  • If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    Mr President

    If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    My two fields are FLOW AND DR_NAME

    FLOW = ACCT_ID

    DR_NAME = ACCT_NAME

    I created with success of LOV for these fields.

    First LOV gives acct_id in the debit field and second LOV gives the value of acct_name to dr_name.

    How can I report these lov, it's that when I change my acct_id then acct_name also change

    I have these two tables

    CREATE TABLE "NOM"  (
      "ACCT_ID" VARCHAR2(7) NOT NULL ENABLE, 
      "ACCT_NAME" VARCHAR2(50) NOT NULL ENABLE, 
      "O_BAL" NUMBER(13,2),
      CONSTRAINT NOM_PK PRIMARY KEY ("ACCT_ID")ENABLE
       
       );
    CREATE TABLE "VOUCHERDET" (
      "V_ID" VARCHAR2(9) NOT NULL ENABLE,
      "LINEITEM" NUMBER ,
      "DEBIT" VARCHAR2(7) , 
      "DR_NAME" VARCHAR2(50), 
      "CREDIT" VARCHAR2(7) , 
      "CR_NAME" VARCHAR2(50), 
      "PARTICULARS" VARCHAR2(100), 
      "AMOUNT" NUMBER(21,2),
    CONSTRAINT VOUCHERDET_PK PRIMARY KEY ("V_ID","LINEITEM")ENABLE, 
    CONSTRAINT PUR_SAL_LINE_POD_FK FOREIGN KEY(PROD_ID)
      REFERENCES PRODUCTS (PROD_ID)ENABLE,  
    CONSTRAINT VOUCHERDET_DEBIT_FK FOREIGN KEY ("DEBIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE, 
    CONSTRAINT VOUCHERDET_CREDIT_FK FOREIGN KEY ("CREDIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE,  
    CONSTRAINT VOUCHERDET_V_FK FOREIGN KEY ("V_ID")
       REFERENCES "VOUCHER" ("V_ID") ON DELETE CASCADE ENABLE
      );
    
    

    Concerning

    so, instead of this second ActId, choose ACCT_NAME:

  • Client Oracle for Oracle database 10g and Windows 2003 operating system...

    Hi all
    I need an Oracle Client for Oracle database 10g and Windows 2003 operating system.
    I searched www.oracle.com it there as much of products so basically that I got confused.
    Could you guide me please?

    Hello

    Here is the link: download (Oracle Database 10g Release 2 (10.2.0.1.0) customer - 10201_client_win32.zip (475,090,051 bytes) (cksum - 946434250)).

    Oracle Database 10g Release 2 (10.2.0.1.0)
    http://www.Oracle.com/technology/software/products/database/Oracle10g/htdocs/10201winsoft.html

    Kind regards
    Hussein

  • Unable to connect to remote oracle database!  Help, please!

    Hi all-

    I am a new user Oracle and you are allowed to access a remote Oracle database, however I have problems with the installation/configuration program! I downloaded the driver Oracle and the Instant Client (11.2.0.2.0) because I need to use Microsoft Access for the data access (the Access database is already configured to the correct Oracle database). I'm under the impression that, to do this, I need to be able to use the ODBC Administrator to get all set up. Note: Im working on Windows XP.

    I have questions:

    -I don't seem to have installed Netca (which seems to be the recommended method to configure a connection). I have manually adjusted the TNSNAMES file. ORA file so it matches the database, but I'm not sure what would be my next step.

    -When I open SqlPlus it wants a username and password, and I tried the default settings and got an error each time. I must first use SqlPlus, or establish a connection via ODBC first?

    -Also: ODBC requires a TNS Service name, and I'm not sure, where this is established; something that would give the database manager?

    I really just do not know how to configure this remote connection! I continue to run with obstacles and really want a reference "step by step" on the way to do it, if there is such a thing. Any help or additional reference material would be appreciated! I ran by the content of the forum, but have not been able to decode the jargon! Thank you very much in advance.

    Marilyn

    MsMonroe wrote:
    Hi Ed-

    I use the Oracle's ODBC driver. I think there may be a problem with the TNSnames file because I tried to add this file as a"Data Source", and he also said that a connection could not be established. What do you mean by the MS implemented? A configuration of Data Source?

    By MS implemented, I was referring to the MS ODBC for Oracle driver, against the Oracle ODBC for Oracle driver.

    The "source of data file' has nothing to do with the tnsnames file. The ODBC Manager retains its DSN definitions in one of three places. "User DSN" is stored in the HKEY_LOCAL_USER registry, the "System DSN" definitions are stored in the HKEY_LOCAL_MACHINE registry and 'FILE DSN"definitions is stored in a file... I don't remember exactly where or what it's name is as I have (when he is forced to deal with odbc) just keep things simple and use "system dsn". But these aren't all the definitions of ODBC, Oracle tnsnames file.

    The link between the ODBC DSN and the tnsnames.ora presents itself as a property of the ODBC definition. Suppose you have this for a tnsnames.ora entry:

    houston =
      (DESCRIPTION =
        (ADDRESS_LIST =
          (ADDRESS = (PROTOCOL = TCP)(HOST = vmlnx01)(PORT = 1521))
        )
        (CONNECT_DATA =
          (SERVICE_NAME = orcl)
        )
      )
    

    Then
    -When you set up your odbc dsn, if you use the MS for Oracle driver, you must specify 'houston' as the 'server '.
    -When you set up your odbc dsn, if you use the Oracle odbc driver, you must specify "houston" as "the TNS Service name".

    >

    Im going to try to post a modified version of the content of my TNSnames.ora file (for some reason any the "content is not allowed ' by the forum), but I would like to get some comments on whether the structure of the content may be the problem.

  • Oracle 10g AND OCCI MSVC ++ 2008sp1?

    How to use oracle 10g (SQL * more: release 10.2.0.3.0 - Production on Sun Jul 19 09:07:58 2009) AND WEST of MSVC ++ 2008sp1?

    Edited by: s.holmes on July 18, 2009 20:38

    Hi Christian,

    Fix. If you have access to My Oracle Support (formerly MetaLink) you can also consult Note: 437957.1 (certified compilers for OCCI) which also shows VS 2008 is compatible with versions 11.1.0.x.

    However, you can use the vesion of 11.1.0.x with Instant Client and VS 2008 (including Express Edition) to connect to a 10 g database.

    If you are interested, I have a walkthrough of instant OCCI with Client configuration base and VS 2008 Express Edition on my blog here:

    http://oradim.blogspot.com/2009/07/getting-started-with-OCCI-Windows.html

    In this walkthrough, I connect to an 11.1.0.7 database, but he just as easily could have a lower version.

    Kind regards

    Mark

  • How to connect to an Oracle database using acrobat form field java script actions

    I have a PDF template with buttons and form fields. One requirement is that when a key is pressed, I want to connect to an Oracle database to change the data of the table inside the DB.

    I wrote "Mouse Up" event and set a Java script to run on this event. Java script I am trying to connect to the DB and Transact on the DB.

    Any ideas how to achieve this.

    Thank you.

    Assuming you are using Acrobat (or reader) XI or newer, it is no longer possible.

    There used to be a way to connect to a PDF file using a script and ADBC, a DB defined locally, but Adobe removed in favour of this option progressively and now it is completely obsolete.

    The only type of PDF files that can still do are those created using LiveCycle Designer.

  • How to connect to the Oracle on VM1 VM2 of database with 11gClient

    Hi all

    I have a virtual machine running Windows7 x64bit, I loaded x64bit oracle server and created a database.  The thin database functions and the listener is running for the database.  I created a different VM running Windows7 x64bit, I loaded x64bit oracle client. I want to connect to the server (VM1) using pl/sql developer VM2.  I thought I could just use the tnsname connection string and connect, but not yet!

    Can someone point me to get instructions on how best to achieve this.  Thanks in advance!

    D.

    Could the firewall Windows on dbserver block 1521 maybe? If it's on, it might be useful to turn it off at least rule out it.

  • Oracle 10g and 11g reports

    I recently upgraded from Oracle Forms/Reports 10 g and 11g.  Oracle 10g reports saving as PDF is easily converted into a word document, however, Oracle 11 g converts not as 10 g.  What is the difference and how to make the report of 11g saved in a PDF file be able to convert a Microsoft Word document itself.

    Thank you

    Steven


    Hello

    There is a "known issue" with the PDF file in 11g:

    ALERT: Indicates problems PDF in 11.1.2.1.0 group of fixes for Non-Linux (Doc ID 1522543.1) platforms

    Maybe the problem comes from this 'problem '...

    "Patch Set Exception" exists for this problem.

    Kind regards

Maybe you are looking for