Loading

Connecting to Oracle using SID not Service Name

Udgivelsesdato: Apr 29, 2025
Opgave
How to connect to an Oracle database with SID instead of Service Name.
Trin
Change the SERVICE_NAME in the TNSNames.ora file to SID. For example,
Production =
(DESCRIPTION =
 (ADDRESS = (PROTOCOL = TCP)(HOST = prod.corp.com)(PORT = 1521)
  )
 (CONNECT_DATA =
  (SERVICE_NAME= orcl)
  )
 )

should be changed to:
Production =
(DESCRIPTION =
 (ADDRESS = (PROTOCOL = TCP)(HOST = prod.corp.com)(PORT = 1521)
  )
 (CONNECT_DATA =
  (SID= orcl)
  )
 )
Vidensartikelnummer

001457985

 
Indlæser
Salesforce Help | Article