How To Install and Configure the Lite Edition ODBC Drivers for Microsoft SQL Server (Linux)
Pre-Installation Guide
- You need to know a variety of information pertaining to your
Microsoft SQL Server DBMS:
- Microsoft SQL Server instance name: The name of the Microsoft SQL Server instance.
- Microsoft SQL Server listen port: The port number on which the Microsoft SQL Server is listening.
- Microsoft SQL Server database name: The name of the database within the Microsoft SQL Server.
- Microsoft SQL Server database server hostname or IP address: The hostname or IP address of the server where the Microsoft SQL Server is running.
Installation Guide
- The installation files ship as an installation shell script, a
driver and admin
.tazfile, and a license.licfile. The installation shell script should be ftp'd in ascii. The rest of the files should be ftp'd in binary, where applicable. - Downloads these documents, and place them in your desired installation folder.
- Start the installation process by opening the installation
directory using
cd, and runningsh install.sh. - You must choose a TCP port on which to run your HTTP-based
iODBC Data Sources Administrator. The default is 8000. You will
need to know this port number and your local machine's IP address
or hostname to access your Admistrator in a Web browser. This is
how you call it:
http://machine:portnumber - Log File? enables you to rename and relocate your Administrative Assistant's log file. It is best to go with the default.
- You can choose to log all requests. This is not diagnostic-level odbc tracing or connection logging. The default is no.
- You can change the iODBC Data Source Administrator's default
username from "
admin." This is the name that you will need to login to OpenLink's HTTP-based iODBC Data Sources Administrator. - You can change the iODBC Data Source Administrator's default
password from "
admin." - The installation is complete.
Configuration Guide
- Prerequisites:
- You MUST be proficient in using a Unix shell.
- You MUST be proficient in using a Unix editor such as vi.
- You MUST be in possession of relevant database connectivity details such as Database name, Username, password, etc.
- Open the file
<OPENLINK_INSTALL>/bin/odbc.iniwith a suitable text editor such as vi. - Locate and edit the sample OpenLink SQL Server ODBC data source
(DSN) created during the installation process and edit as follows:
[sqlserver] Driver = <OPENLINK_INSTALL>/lib/sql_mt_lu.so ServerType = SQLServer 2000 Options = -H sqlserver.hostname -P 1433 Database = database UserName = sa Password = ********** FetchBufferSize = 99 ReadOnly = no DeferLongFetch = no JetFix = no Description = - Use the
iodbctesttool which is packaged with the HTTP-based OpenLink ODBC Administrator as follows:# cd <OPENLINK_INSTALL> # . ./openLink.sh # iodbctest sqlserveriODBC Demonstration program
This program shows an interactive SQL processor
Driver Manager: 03.52.0507.0105
Driver: 06.02.1217 OpenLink Generic ODBC Driver (sql_mt_lt.so)
SQL> - You should now be able to issue SQL statements directly against the target database.
Additional Information:
The bitness of the ODBC Driver for MySQL is determined by the
bitness of your ODBC client application.
That is, if your ODBC client application is 32-bit then the Generic
ODBC Driver component MUST also be 32-bit.