Skip to Content.
Sympa Menu

freetds - Re: [freetds] [IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: rasiel payumo <leonhart_ras AT yahoo.com>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] [IM002][unixODBC][Driver Manager]Data source name not found, and no default driver specified
  • Date: Wed, 4 Feb 2009 08:08:31 +0800 (SGT)

sorry, i'm new to linux but could you please tell me where i can find the
FreeTDS source tree?
when i typed "man osql" in my putty it's said that there's no manual entry
for osql..







________________________________
From: James K. Lowden <jklowden AT freetds.org>
To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
Sent: Tuesday, February 3, 2009 2:46:31 PM
Subject: Re: [freetds] [IM002][unixODBC][Driver Manager]Data source name not
found, and no default driver specified

rasiel payumo wrote:
> when i run a sample odbc php connection file, an error occurs:
> [freetds] [IM002][unixODBC][Driver Manager]Data source name not found,
> and no default driver specified

http://www.freetds.org/userguide/usefreetds.htm#UTILITIES

In your FreeTDS source tree, you should find:

src/apps/osql
doc/osql.txt

"man osql" should also show the man page.

If you don't have these in your distribution, you can use any more recent
distribution or download them from CVS.

osql is a Bourne shell script that checks your ODBC setup. If it
succeeds, it invokes unixODBC's isql utility. If it fails, it points out
where you went wrong. If neither of those happens for you, it's a bug,
and I'd be much obliged if you'd report it. (Patches also accepted!)

You can also use TDSDUMPCONFIG to log the severname lookup process. ODBC
also has a trace facility, but I don't think that would be much help here.


HTH.

--jkl
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds



Importing contacts has never been easier.. Bring your friends over to
Yahoo! Mail today! http://www.trueswitch.com/yahoo-ph




Archive powered by MHonArc 2.6.24.

Top of Page