Frage

Nur aus Neugier, vor ein paar Tagen wir eine Diskussion über hatte, ob es einen Weg zur DB zu verbinden, ohne Verwendung von TNS Listener, muss die Verbindung von jedem Programm SQLPlus gemacht werden. Net, ODBC, und so weiter.

War es hilfreich?

Lösung

Basically only local connections can avoid the listener (ie you have to be already logged on to the machine that the database instance is running on).

Rather than relying on a listener to fork out a process to act on behalf of the connection, this is done by the local process. Generally it means that the local user needs to be run as 'oracle' as well. Sort of equivalent to a console logic.

Andere Tipps

It appears there isn't one magic bullet, but there are several ways.

For ODBC, have a look at this SO question.

There's a lot of good info at Connectionstrings.com/oracle as well.

You connect to Oracle via a client, such as sqplplus, or a java program (or tool) utilizing a protocol such as SQL*NET or JDBC (as examples) through the listener. The listener in turn forks a process on the target database (or assigns the connection to an existing process if you use shared servers).

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top