Re: MS SQL Server and ODBC
| From: | Michael Davey | Date: | Thu, 11 Jul 2002 13:48:55 +0000 |
| Subject: | Re: MS SQL Server and ODBC | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107122@lists.php.net to get a copy of this message | ||
I don't really know much about freetds so this could all be wrong, but...
when you set-up a DSN on a server, the database is specified there - hope
this helps.
Mikey
"Tim Nields" <tnields@iitri.org> wrote in message
news:20020711134158.89351.qmail@pb1.pair.com...
> I am attempting to connect to a MSSQL 2000 database from a linux box. I
> have installed freetds successfully and configured php with sybase as
> directed by freetds.
>
> I configured the freetds .conf file. However this is where I have
> questions. The freetds.conf file only asks for the ip address of the
> database server. I have mulitple databases on my database server. How do
I
> specify the database that I'm trying to reach?
>
> Are there any configuration flags that I could be missing to use
> odbc_connect, etc.?
>
> Any help would be greatly appreciated.
>
> Tim
>
>