When connecting to an Oracle database, typically your database server will have tnsnames.ora
, which is a configuration file that informs the server about NET_SERVICE_NAMES
which are valid database connections. By default, this file is located at ORACLE_HOME/network/admin
.
For example, a NET_SERVICE_NAME
descriptor in tnsnames.ora
may be formatted like this:
myDatabaseNetService =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = tcp)(HOST = localhost)(PORT = 1521)(QUEUESIZE = 100))
(CONNECT_DATA =
(SERVICE_NAME = bookstore.company.com)
)
)
This would define a NET_SERVICE_NAME
using the SERVICE_NAME
we discussed earlier (bookstore.company.com
) and connecting to localhost
through port 1521
.
No. | Subject |
---|---|
Notice | Certification Oracle SQL Developer |
114 | 5.6.2 Granting Connect Privileges Prior to Oracle Database 12c |
» | lsnrctl start |
112 | Network access denied by access control list (ACL) in Oracle Database 11g |
111 | email - PL/SQL |
110 | MODIFY |
109 | CREATE |
108 | PORT CHANGE 8080 --> 8081 |
107 | About AMAZON |
106 | BUXOMCURVY |
105 | WHDR(LAYOUT) CODE |
104 | CREATE?MODIFY |
103 | SEND GRID |
102 | MAILJET |
101 | DATA BASE LINK |
100 | dbms_network_acl_admin |
99 | Samsung-NP300E5E-DDR3 |
98 | Config |
97 | APEX_MAIL.SEND |
96 | grant execute on UTL_TCP |
95 | Email SMTP |