[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1034
  • Last Modified:

how to set DSN for Oracle in control panel/ODBC data source

I would like to know how I set the attributes of DSN for oracle in the control panel/ODBC data source?

I used :

DSN: orcl
description: oracle(can be anything, right?)
user name: scott
server: DSN=orcl;UID=scott;PWD=tiger;SERVER=127.0.0.1

is this correct?

thanks,
0
Embt
Asked:
Embt
  • 2
1 Solution
 
aqmCommented:
No,

The DSN should be like
DSN=anynamel;UID=scott;PWD=tiger;SERVER=orcl

Aqm
0
 
EmbtAuthor Commented:
that is the string I should put in DSN field or Server field?

Can you be more specific please? what should I used anynamel here?

0
 
aqmCommented:
Ok....

Data Source Name= YourPreferName
Description: Put here Your description
User Name:YourUSerName
Server:ORCL

The Value of Server is the name of your Oracle instance, is the name as you writed on your TNSNAMES.ORA

You must have SqlNet in order to connect to your Oracle Database, you can test the SqlNet by doing:
     tnsping ORCL
From the Ms-Dos prompt.

I hope this help you

Aqm
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now