You should now see your new DSN in the User DSN tab of the ODBC Data Source Administrator tool.Ĭonfiguring a DSN for ODBC Driver in Windows 10 (32-bit) If you see the Connection Successful message, click OK to save the DSN. Click Test Connection to verify connectivity. In most of our ODBC drivers for databases, a connection string with basic parameters requires the user to only input their server address, port number, and login credentials, since Devart ODBC drivers allow direct access to the database without involving additional client libraries.ĥ. Fill in the parameters for the ODBC connection string, which is driver-specific. Enter a name for your data source in the corresponding field. The choice of the driver is determined by the data source you are trying to connect to - for example, to access a PostgreSQL database, choose Devart OBDC Driver for PostgreSQL. The Create New Data Source dialog box will display the list of installed ODBC drivers in the system. In the administrator utility, click on the Add button. If you don’t want other users on the workstation to access your data source using the DSN, choose a User DSN.ģ. A System DSN is accessible to any user who is logged in into the system. A User DSN is only accessible to the user who created it in the system. The odbcad32.exe file displays two types of data source names: System DSNs and User DSNs. Since most modern computer architectures are 64-bit, we’ll select the 64-bit version of the ODBC Data Source Administrator to create a DSN for our ODBC driver. Enter the command odbcad32 and hit Enter.Ģ. Yet another way to open the ODBC Data Source Administrator is via the command prompt: enter cmd in the search bar and click the resulting Command Prompt button. The ODBC Data Sources (64 bit) and ODBC Data Sources (32 bit) apps should appear in the search results.Īlternatively, you can open the Run dialog box by pressing Windows R, type odbcad32 and click OK. In your Windows Search bar, type ODBC Data Sources. The 64-bit version of odbcad32.exe is located in the C: \Windows\System32 folder.ġ.The 32-bit version of odbcad32.exe is located in the C: \Windows\SysWoW64 folder.A 64-bit version of the Microsoft Windows operating system includes both the 64-bit and 32-bit versions of the Open Database Connectivity (ODBC) Data Source Administrator tool ( odbcad32.exe): See this page for the list of external applications that have been tested for compatibility with our drivers.Ĭonfiguring a DSN for ODBC Driver in Windows 10 (64-bit)īefore connecting a third-party application to a database or cloud source through ODBC, you need to set up a data source name (DSN) for the ODBC driver in the Data Source Administrator. By a third-party application, we mean tools like Power BI, Tableau, Microsoft Excel, etc. Here’s an example of ODBC connection string:ĭRIVER= Direct=True Host=127.0.0.1 SID=ORCL1020 User ID=John Password=Doeĭevart ODBC Drivers are powerful connectors for a host of database management systems and cloud services that allow you to connect to your data from virtually any third-party application or programming language that supports the ODBC API. The required information is different depending on the specific driver and database. Parameters may include information about the data source name, server address and port, username and password, security protocols, SQL dialects, and many more. The ODBC driver connection string is a parameterized string that consists of one or more name-value pairs separated by semi-colons. The ODBC interface provides for maximum interoperability – an application that is independent of any DBMS, can access data in various databases through a tool called an ODBC driver, which serves as an interface between an external program and an ODBC data source, i.e. Open Database Connectivity (ODBC) is a standard application programming interface that allows external applications to access data from diverse database management systems.
0 Comments
Leave a Reply. |