Creating a Data Source Name on a Windows Operating System
Creating a Data Source Name on a Windows Operating System
This section describes how to create a data source name on the Windows operating system on which
B2B Data Exchange
is installed.
Ensure that you configure a separate Data Source Name (DSN) entry for every database on which
B2B Data Exchange
is installed.
Open
ODBC Data Sources
from the Windows environment and select
64-bit ODBC Data Source for DataDirect 7.1 New SQL Server Wire Protocol
.
The
ODBC DataSource Administrator
window is displayed.
Select
System DSN
and click
Add New
.
The
Create New DataSource
window is displayed.
Select the following driver:
DataDirect 7.1 New SQL Server Wire Protocol
.
The
ODBC SQL Server Wire Protocol Driver Setup
window is displayed.
Enter the following details in the
General
tab:
DataSource Name
. Name of the data source.
Host Name
. Host name of the machine where the database server is installed.
Port Number
. Port number of the database. The default port number for Microsoft Azure SQL Database is 1433.
Database
. Name of the database instance.
Select
Advanced
Extended Options
and add
WorkArounds2=2
.
Enabling the WorkArounds2=2 option, causes the driver to ignore the column size, decimal digits, or datetime values specified by the application and use the database defaults instead. Some applications incorrectly specify the column size or decimal digits when binding timestamp parameters.
Select
Security
and update the following information:
User Name
. Name of the Microsoft Azure SQL Database user.
Select any
Encryption Method
.
Click
Save
.
Data Source Name (DSN) details are saved.
Test the driver with credentials of the user that you have provided in the procedure and ensure that the connection passes.