Cov txheej txheem:

Kuv tuaj yeem nrhiav TNS nkag ntawm cov ntaub ntawv nyob qhov twg?
Kuv tuaj yeem nrhiav TNS nkag ntawm cov ntaub ntawv nyob qhov twg?

Video: Kuv tuaj yeem nrhiav TNS nkag ntawm cov ntaub ntawv nyob qhov twg?

Video: Kuv tuaj yeem nrhiav TNS nkag ntawm cov ntaub ntawv nyob qhov twg?
Video: Ua Tsis Tau Tus Neeg Koj Nyiam -2 SIAB (Official Audio Lyric ) 2024, Hlis ntuj nqeg
Anonim

Feem ntau, a tns npe . ora ua ntaub ntawv yog ntsia thaum koj nruab ib lub Oracle database . Los ntawm default, lub tns npe . ora ua ntaub ntawv nyob hauv ORACLE_HOME etworkadmin directory ntawm Windows thiab $ ORACLE_HOME/network/admin directory ntawm Linux/UNIX.

Tsis tas li ntawd, TNS nkag rau hauv database yog dab tsi?

A TNS (Transparent Network Substrate) npe yog cov npe ntawm nkag hauv tns npe .ora ntaub ntawv uas yog khaws cia hauv $ORACLE_HOME/network/admin. Qhov no ntaub ntawv muaj cov ntaub ntawv uas siv los ntawm lub kaw lus txuas rau oracle database . Siv qhov no tus neeg siv khoom tuaj yeem nqa cov ntaub ntawv cuam tshuam nrog server pob tshab.

Tsis tas li ntawd, kuv yuav nrhiav Oracle_home ntawm Windows li cas? Ntawm Qhov rai platform koj tuaj yeem nrhiav tau oracle_home txoj hauv kev sau npe. Nyob ntawd koj tuaj yeem pom oracle_home sib txawv. Nyob ntawd koj yuav pom "cov ntaub ntawv" hu ua HOME; qhib nws thiab koj yuav pom qhov twg Oracle tau teeb tsa.

Kuv yuav qhib TNS cov ntaub ntawv li cas?

Txheej txheem

  1. Nkag mus rau lub server raws li tus neeg siv tswj hwm.
  2. Qhib Oracle_home etworkadmin nsnames. ora cov ntaub ntawv rau kev kho.
  3. Ntxiv cov hauv qab no rau cov ntaub ntawv.
  4. Txuag thiab kaw cov ntaub ntawv.

TNS lub npe yog dab tsi?

TNS Service name yog lub zos npe ntawm cov chaw taws teeb Oracle kev pabcuam . Txhawm rau qhia qhov TNS Service name Koj yuav tsum pib "Oracle Net Configuration Assistant".

Pom zoo: