Bank name on Oracle 8i

DBA Geral (instalação, configuração do banco, scripts do Sql*Plus, shell scripts, batch scripts, etc...)
Post Reply
tostesr1
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 12
Joined: Wed, 01 Jun 2005 12:30 am
Location: RJ

Hello everyone,

I'm new here in the forum. And soon dude, I already have an issue that certainly can help me!

I am using Oracle 8i Personal Edition at home, being that, I opted for the default installation of the same (porque not bag muito bank installation).

My question is the following how do I find out the name of the bank or your host string in a default installation?

In my case when I connect to SQL * Plus, just enter with user, password, and the host string.

I need to know because to make a connection through a java code is
necessary the inclusion of the host, port and name of the bank.

Who can give me a help!
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Welcome TostesR1 !!!!

About your doubt, try to do select in this view:

Select all

SQL> SELECT GLOBAL_NAME FROM GLOBAL_NAME; 
 
GLOBAL_NAME 
--------------------------------------------- 
TAPISUL.US.ORACLE.COM 
 
SQL> 
tostesr1
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 12
Joined: Wed, 01 Jun 2005 12:30 am
Location: RJ

Thanks I managed to know the name of the bank.

But would you like to know tb, the host and the door of my connection?

I know that by default is 127.0.0.1 and the port: 1521.

But I have doubt that the door being using is even that.
User avatar
dr_gori
Moderador
Moderador
Posts: 5026
Joined: Mon, 03 May 2004 3:08 pm
Location: Portland, OR USA
Contact:
Thomas F. G

Você já respondeu a dúvida de alguém hoje?
https://glufke.net/oracle/search.php?search_id=unanswered

Well, I do not know if you can figure it out through a select.

I know this information is in the tnnames.ora file (there has the IP, port, etc. of all banks)
tostesr1
Rank: Estagiário Sênior
Rank: Estagiário Sênior
Posts: 12
Joined: Wed, 01 Jun 2005 12:30 am
Location: RJ

I already know this file, only in a Default installation oracle does not generate this file.


It only gives examples in the sample folder.
Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest