techblog.jj-it.de - Access to MS SQL Server Database: FreeTDS Installation









Search Preview

Access to MS SQL Server Database: FreeTDS Installation – Joachim Jäckel

techblog.jj-it.de
Access to MS SQL Server Database: FreeTDS Installation
.de > techblog.jj-it.de

SEO audit: Content analysis

Language Error! No language localisation is found.
Title Access to MS SQL Server Database: FreeTDS Installation – Joachim Jäckel
Text / HTML ratio 26 %
Frame Excellent! The website does not use iFrame solutions.
Flash Excellent! The website does not have any flash contents.
Keywords cloud SQL Server Microsoft FreeTDS database unixODBC version = ODBC Oracle MS Gateway odbcini Database hostname Configure configure driver Installation dbname
Keywords consistency
Keyword Content Title Description Headings
SQL 20
Server 20
Microsoft 16
FreeTDS 12
database 11
unixODBC 11
Headings
H1 H2 H3 H4 H5 H6
4 9 0 0 0 0
Images We found 3 images on this web page.

SEO Keywords (Single)

Keyword Occurrence Density
SQL 20 1.00 %
Server 20 1.00 %
Microsoft 16 0.80 %
FreeTDS 12 0.60 %
database 11 0.55 %
unixODBC 11 0.55 %
version 10 0.50 %
= 10 0.50 %
ODBC 10 0.50 %
Oracle 10 0.50 %
MS 9 0.45 %
Gateway 9 0.45 %
odbcini 9 0.45 %
Database 8 0.40 %
hostname 8 0.40 %
Configure 8 0.40 %
configure 7 0.35 %
driver 7 0.35 %
Installation 7 0.35 %
dbname 6 0.30 %

SEO Keywords (Two Word)

Keyword Occurrence Density
SQL Server 20 1.00 %
Microsoft SQL 12 0.60 %
for Microsoft 8 0.40 %
in the 7 0.35 %
MS SQL 7 0.35 %
in odbcini 6 0.30 %
Oracle Gateway 6 0.30 %
1 2 6 0.30 %
2 3 6 0.30 %
4 5 5 0.25 %
5 6 5 0.25 %
7 8 5 0.25 %
6 7 5 0.25 %
8 9 5 0.25 %
9 10 5 0.25 %
10 11 5 0.25 %
3 4 5 0.25 %
make install 5 0.25 %
compiled unixODBC 4 0.20 %
root privileges 4 0.20 %

SEO Keywords (Three Word)

Keyword Occurrence Density Possible Spam
Microsoft SQL Server 12 0.60 % No
for Microsoft SQL 8 0.40 % No
MS SQL Server 7 0.35 % No
1 2 3 6 0.30 % No
8 9 10 5 0.25 % No
9 10 11 5 0.25 % No
2 3 4 5 0.25 % No
7 8 9 5 0.25 % No
6 7 8 5 0.25 % No
5 6 7 5 0.25 % No
4 5 6 5 0.25 % No
3 4 5 5 0.25 % No
Oracle Gateway for 4 0.20 % No
Configure Oracle Gateway 4 0.20 % No
64bit on Windows 4 0.20 % No
compiled unixODBC from 4 0.20 % No
unixODBC from source 4 0.20 % No
Edition 64bit on 4 0.20 % No
Gateway for ODBC 4 0.20 % No
for ODBC with 4 0.20 % No

SEO Keywords (Four Word)

Keyword Occurrence Density Possible Spam
for Microsoft SQL Server 8 0.40 % No
8 9 10 11 5 0.25 % No
7 8 9 10 5 0.25 % No
6 7 8 9 5 0.25 % No
5 6 7 8 5 0.25 % No
4 5 6 7 5 0.25 % No
3 4 5 6 5 0.25 % No
2 3 4 5 5 0.25 % No
1 2 3 4 5 0.25 % No
Copyright c Microsoft Corporation 4 0.20 % No
c Microsoft Corporation Express 4 0.20 % No
Microsoft Corporation Express Edition 4 0.20 % No
Corporation Express Edition 64bit 4 0.20 % No
Express Edition 64bit on 4 0.20 % No
Edition 64bit on Windows 4 0.20 % No
9 10 11 12 4 0.20 % No
64bit on Windows NT 4 0.20 % No
Oracle Gateway for ODBC 4 0.20 % No
compiled unixODBC from source 4 0.20 % No
Configure Oracle Gateway for 4 0.20 % No

Internal links in - techblog.jj-it.de

Contact
Contact – Joachim Jäckel
Unix ODBC Installation
Unix ODBC Installation
Access to Informix Database: Informix ODBC Driver Installation
Informix ODBC Driver Installation
Configure Oracle Gateway for ODBC with Informix ODBC Driver
Configure Oracle Gateway for ODBC with Informix ODBC Driver – Joachim Jäckel
Joachim Jäckel
Joachim Jäckel – Joachim Jäckel
2017-04-202017-09-17
Gateway from Oracle to Informix – Joachim Jäckel
Gateway
Gateway – Joachim Jäckel
Informix
Informix – Joachim Jäckel
ODBC
ODBC – Joachim Jäckel
Oracle
Oracle – Joachim Jäckel
Access to MySQL Database: Connector/ODBC Installation
Access to MySQL Database: Connector/ODBC Installation
Configure Oracle Gateway for ODBC with MySQL Connector
Configure Oracle Gateway for ODBC with MySQL Connector
2016-01-212017-04-20
Gateway from Oracle to MySQL
MySQL
MySQL – Joachim Jäckel
Oracle Gateway to ODBC
Oracle Gateway to ODBC
2016-01-072016-01-23
Gateway from Oracle to MS SQL Server – Joachim Jäckel
SQL Server
SQL Server – Joachim Jäckel
Access to MS SQL Server Database: FreeTDS Installation
Access to MS SQL Server Database: FreeTDS Installation – Joachim Jäckel
Configure Oracle Gateway for ODBC with FreeTDS
Configure Oracle Gateway for ODBC with FreeTDS – Joachim Jäckel

Techblog.jj-it.de Spined HTML


Wangleto MS SQL Server Database: FreeTDS Installation – Joachim Jäckel Skip to contentJoachim Jäckel MenuHomeContactWangleto MS SQL Server Database: FreeTDS Installation Contents1 FreeTDS Installation1.1 Install from rpm1.2 Download1.3 Install1.4 First Test2 Configure unixODBC2.1 Configure dsn in odbc.ini2.2 Test the configured dsn3 Next StepTo wangle a MS SQL Server Database via unixODBC you need a driver. There are several drivers in the market. A self-ruling version is FreeTDS.FreeTDS InstallationInstall from rpmFor RedHat RHEL 7 freetds is misogynist as rpm in the Epel Repository.For RedHat RHEL 6 freetds is misogynist as rpm in the Epel Repository, but only the outdated version 0.91The pursuit examples do not use these packages.DownloadGo to http://www.freetds.org/ and download the stable release ftp://ftp.freetds.org/pub/freetds/stable/freetds-patched.tar.gz I got version freetds-0.95.79InstallIn this example the file freetds-patched.tar was downloaded to directory /optcommands executed as user root cd /opt # unpack tar xfz freetds-patched.tar.gz cd freetds-0.95.79 # configure FreeTDS ; tdsver is the default version, if nothing is specified in odbc.ini ; if you have compiled unixODBC from source as shown in this blog, specify --with-unixodbc=/usr/local/ ./configure --silent --with-tdsver=7.0 --with-unixodbc=/usr/local/ # compile make # install - needs root privileges make install123456789101112cd /opt# unpacktar xfz freetds-patched.tar.gzcd freetds-0.95.79# configure FreeTDS; tdsver is the default version, if nothing is specified in odbc.ini; if you have compiled unixODBC from source as shown in this blog, specify --with-unixodbc=/usr/local/./configure --silent --with-tdsver=7.0 --with-unixodbc=/usr/local/# compilemake# install - needs root privilegesmake installFor configuration and compilation you do not need root privileges, only for the last step make install you need root privileges.First TestThe tsql utility is provided as part of FreeTDS expressly for troubleshooting.confirm installion /usr/local/bin/tsql -C1/usr/local/bin/tsql -COutput from tsql -C Compile-time settings (established with the "configure" script) Version: freetds v0.95.79 freetds.conf directory: /usr/local/etc MS db-lib source compatibility: no Sybase binary compatibility: no Thread safety: yes iconv library: yes TDS version: 7.0 iODBC: no unixodbc: yes SSPI "trusted" logins: no Kerberos: no OpenSSL: no GnuTLS: no1234567891011121314Compile-time settings (established with the "configure" script)                            Version: freetds v0.95.79             freetds.conf directory: /usr/local/etc     MS db-lib source compatibility: no        Sybase binary compatibility: no                      Thread safety: yes                      iconv library: yes                        TDS version: 7.0                              iODBC: no                           unixodbc: yes              SSPI "trusted" logins: no                           Kerberos: no                            OpenSSL: no                             GnuTLS: noFor your first connection you need the pursuit informations well-nigh your target MS SQL Server database:Hostname (or ip address)Port number (usually 1433)Database nameUsernamePasswordconnect to database # replace hostname, dbname, user and password with your values: reverberate -e 'select @@version\nGO' \ | /usr/local/bin/tsql -H hostname -p 1433 -D dbname -U user -P password123# replace hostname, dbname, user and password with your values:echo -e 'select @@version\nGO' \| /usr/local/bin/tsql -H hostname -p 1433 -D dbname -U user -P passwordOutput from tsql -C locale is "en_US.UTF-8" locale charset is "UTF-8" Default database stuff set to test801 1> 2> Microsoft SQL Server 2012 - 11.0.2100.60 (X64) Feb 10 2012 19:39:15 Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor) (1 row affected) 1> 1234567891011locale is "en_US.UTF-8"locale charset is "UTF-8"Default database stuff set to test8011> 2>Microsoft SQL Server 2012 - 11.0.2100.60 (X64)        Feb 10 2012 19:39:15        Copyright (c) Microsoft Corporation        Express Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: ) (Hypervisor) (1 row affected)1>When you see the version of your SQL Server database, your connection is successfull.Configure unixODBCNext step is to integrate the FreetdsSuburbaniteinto unixODBC. With FreeTDS we have two alternatives:ODBC-only configuration: all configuration data in the file odbc.ini This volitional will be used in the pursuit examples.ODBC-combined configuration: configuration data in the file odbc.ini and in freetds.conf Details: FreeTDS User Guide, Chapter 4. Preparing ODBC http://www.freetds.org/userguide/prepodbc.htmConfigure dsn in odbc.iniThe file odbc.ini in usually located /usr/local/etc/odbc.ini, /etc/odbc.ini, /etc/unixODBC/odbc.ini. If you have compiled unixODBC from source as described in the previous article, you will use /usr/local/etc/odbc.ini.For each connection a datasource name dsn is configured in odbc.inisample datasource in odbc.ini ; testdsn is the datasource name (not specimen sensitive) [testdsn] ; driver: unixODBC will use the specified suburbanite suburbanite = /usr/local/lib/libtdsodbc.so ; server: hostname (or ip address) of your MS SQL Server server = hostname ; port: port number on the specified host (usually 1433) port = 1433 ; database: name of database database = dbname ; tds_version: ; 7.0 for Microsoft SQL Server 7.0 ; 7.1 for Microsoft SQL Server 2000 ; 7.2 for Microsoft SQL Server 2005 ; 7.3 for Microsoft SQL Server 2008 tds_version = 7.312345678910111213141516; testdsn is the datasource name (not specimen sensitive)[testdsn]; driver: unixODBC will use the specified driverdriver          = /usr/local/lib/libtdsodbc.so; server: hostname (or ip address) of your MS SQL Serverserver          = hostname; port: port number on the specified host (usually 1433)port            = 1433; database: name of databasedatabase        = dbname; tds_version: ;    7.0 for Microsoft SQL Server 7.0;    7.1 for Microsoft SQL Server 2000;    7.2 for Microsoft SQL Server 2005;    7.3 for Microsoft SQL Server 2008tds_version     = 7.3Test the configured dsnThe configured dsn can be tested with isql: /usr/local/bin/isql (if your compiled unixODBC from source) or /usr/bin/isql (unixODBC installed as package)sample isql connection $ reverberate "select @@version; | /usr/local/bin/isql -v testdsn username password +---------------------------------------+ | Connected! | | | | sql-statement | | help [tablename] | | quit | | | +---------------------------------------+ SQL> +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | | +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Microsoft SQL Server 2014 - 12.0.2000.8 (X64) Feb 20 2014 20:04:26 Copyright (c) Microsoft Corporation Express Edition (64-bit) on Windows NT 6.3 <X64> (Build 10586: ) (Hypervisor) | +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ SQLRowCount returns 1 1 rows fetched SQL> quit123456789101112131415161718192021$ reverberate "select @@version; | /usr/local/bin/isql -v testdsn username password+---------------------------------------+| Connected!                            ||                                       || sql-statement                         || help [tablename]                      || quit                                  ||                                       |+---------------------------------------+SQL> +-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+|                                                                                                                                                                                                                                                                                                             |+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+| Microsoft SQL Server 2014 - 12.0.2000.8 (X64)        Feb 20 2014 20:04:26        Copyright (c) Microsoft Corporation        Express Edition (64-bit) on Windows NT 6.3 <X64> (Build 10586: ) (Hypervisor)                                                                                                                  |+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+SQLRowCount returns 11 rows fetchedSQL> quitNext StepIf the isql Test works, your are ready to configure the Oracle Gateway to ODBC and the Database Link in your Oracle Database: Configure Oracle Gateway for ODBC with FreeTDS Search for: SearchPagesOracle Gateway to ODBCUnix ODBC InstallationAccess to MS SQL Server Database: FreeTDS InstallationConfigure Oracle Gateway for ODBC with FreeTDSAccess to MySQL Database: Connector/ODBC InstallationConfigure Oracle Gateway for ODBC with MySQL ConnectorAccess to Informix Database: Informix ODBCSuburbaniteInstallationConfigure Oracle Gateway for ODBC with Informix ODBC DriverRecent Posts Gateway from Oracle to Informix Gateway from Oracle to MySQL Gateway from Oracle to MS SQL ServerAbout me Consultant for Databases, Linux/Unix, High Availabiltiy. German Homepage www.jj-it.de ContactHomeContact Joachim Jäckel Proudly powered by WordPress