Connecting to a Data Source Using a Logon Dialog Box
Some ODBC applications display a logon dialog box when you are connecting to a data source. In these cases, the data source name has already been specified.
In this dialog box, provide the following information:
NOTE: To configure a standard connection, complete the first four fields and skip to Step 6.
- In the Host field, type either the name or the IP address of the server to which you want to connect.
If you enter a value for this field, the Server Name field is not available.
This field is not available if you enter a value for the Server Name field.
- In the Port Number field, type the number of your Oracle listener. Check with your database administrator for the correct number.
If you enter a value for this field, the Server Name field is not available.
This field is not available if you enter a value for the Server Name field.
- In the SID field, type the Oracle System Identifier that refers to the instance of Oracle running on the server.
If you enter a value for this field, the Server Name and Service Name fields are not available.
This field is not available if you enter a value for the Service Name or Server Name fields.
- In the Service Name field, type the Oracle service name that specifies the database used for the connection.
See Service Name under Step 3 in "Configuring Data Sources" for details.
If you enter a value for this field, the Server Name and SID fields are not available.
This field is not available if you enter a value for the SID or Server Name field.
NOTE: If you want to configure a TNSNames connection, complete only the following two fields.
- In the Server Name field, type a net service name that exists in the TNSNAMES.ORA file. The corresponding entry in the TNSNAMES.ORA file is used to obtain Host, Port Number, and SID information.
If you enter a value for this field, the Host, Port Number, SID, and Service Name fields are not available.
If you enter a value for either the Host, Port Number, SID, or Service Name fields, this field is not available.
- If required, type your Oracle user name.
- If required, type your Oracle password.
- Click OK to log on to the Oracle database installed on the server you specified and to update the values in the Registry.
NOTE: You can also use OS Authentication to connect to an Oracle database. See "OS Authentication" for details.