Re: import problem

From: Alessandro <alever_at_libero.it>
Date: Tue, 7 May 2002 09:20:14 +0000 (UTC)
Message-ID: <1793ef302fb6378cc7031c3719c59b7e.17035_at_mygate.mailgate.org>


"Luca" <lucaudine_at_thotmail.com> wrote in message news:j8zB8.10922$CN3.393767_at_news2.tin.it

> Sei italiano? parliamo italiano, se non ti dispiace mi è + chiaro.
> Io faccio exp da 8.1.7. Imp è su un pc 8.1.6. Non capisco come modificare
> tnsnames.ora
>
> Grazie
> LM
>
Il file tnsnames.ora contiene dei parametri per la connessione ad un database remoto, in cui ad un profilo vengono associati dei parametri. E' collocato nel sistema DAL QUALE vuoi effettuare la connessione (l'8.1.6 per capirsi). La sua posizione nel sistema è variabile a seconda del sistema operativo; se non sai come trovarlo, chiedi a qualcuno.
In ambiente WindowsNT c'è un tool (Net8 Assistant) che serve a crearlo/modificarlo.
La struttura è del tipo:

NOME_PROFILO =
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL= TCP)(Host= HOST_IP)(Port= PORT))     (CONNECT_DATA = (SID = ORACLE_SID)) Il nome profilo è di tua scelta; HOST_IP è l'indirizzo del sistema su cui risiede il database; PORT è il numero>1024 su cui i servizi di rete di Oracle (cioè il listener) sono in ascolto. ORACLE_SID è il SID del database AL QUALE vuoi accedere (tutti i parametri sono riferiti al database 8.1.7).

Una volta che hai aggiunto questi parametri al tnsnames.ora (8.1.6), dal sistema
8.1.6 potrai usare il comando:

exp username/password_at_NOME_PROFILO <invio>

Questo è tutto. Ciao e buon lavoro.

Traduzione per gli utenti stranieri:

Tnsnames.ora contains remote database connection parameters, in which a profile_name is correlated to some parameters. You can find it in the system FROM WHICH you want establish connection (8.1.6 in this case). Its position in the system is variable on operating system and each o.s. has its tool to find files; if you don't know any tool, ask someone.
WindowsNT uses Net8 Assistant to create/modify tnsnames.ora file. Here the file structure :

PROFILE_NAME=
  (DESCRIPTION =
    (ADDRESS = (PROTOCOL= TCP)(Host= HOST_IP)(Port= PORT))     (CONNECT_DATA = (SID = ORACLE_SID)) PROFILE_NAME is of your choice; HOST_IP is ip address of the host on which database resides; PORT is port number of Oracle listener. ORACLE_SID is database SID you want connect TO (all parameters are referred
to 8.1.7)

When you have added these parameters to tnsnames.ora (8.1.6) , from 8.1.6 system
type:

exp username/password_at_PROFILE_NAME <enter>

That's all. Good work.

Alessandro

-- 
Posted via Mailgate.ORG Server - http://www.Mailgate.ORG
Received on Tue May 07 2002 - 11:20:14 CEST

Original text of this message