Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-05-2005, 11:03 PM   #1
Registered: Sep 2004
Location: Hyderabad
Posts: 440
Blog Entries: 1

Rep: Reputation: 30
Exclamation freetds to access SQL server from linux client

As all of you are aware, i am trying to access windows server with a linux client. I was googling and I found freetds which provides ODBC drivers to linux clients to access SQL server in Windows system.
Did anyone worked on it?
I am trying to configure it. If anyone could share their valuable experience with freetds, that would definitely help me.
thank you.
Old 12-06-2005, 05:22 PM   #2
Registered: Aug 2004
Distribution: LFS
Posts: 350

Rep: Reputation: 31
I have used freetds to link OpenOffice via ODBC to tables on an MS-SQL 2000 server.

Assuming the MS-SQL server name is and the database name is testdb

the freetds.conf entry ...
        host =
        port = 1433
        tds version = 8.0
and the odbc.ini
Driver                  = /usr/lib/
Description              = MS-SQL Server
Trace                    = No
Servername               = server
Database                 = testdb
Note the bold 'server' entry in both config files, they have to match. The linux client should be able to access this data source via the DSN name testdbDsn.

P.S. I have only ever used this for reading data from tables, never for writing or updating tables, use at your own risk.


Old 12-06-2005, 11:19 PM   #3
Registered: Sep 2004
Location: Hyderabad
Posts: 440

Original Poster
Blog Entries: 1

Rep: Reputation: 30
it seems to be very useful.
I will get back with Results.
Thank you .


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MS SQL 2000 access using C++ in linux gourav Linux - Software 51 08-14-2006 10:03 AM
Access Windows Server with a linux client sailu_mvn Linux - Software 8 11-21-2005 07:54 PM
Is there a database manager for linux that is compatable with M$ Access and SQL? enigma Z Linux - Software 2 08-27-2004 09:50 PM
freetds-perl-linux-m$sql hrc Linux - Software 0 03-08-2004 09:35 AM
Can't access Linux web server web pages from LAN client jaydave Linux - Networking 4 03-16-2003 03:38 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration