Skip to Content.
Sympa Menu

freetds - Re: [freetds] cant connect to db

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "blackwater dev" <blackwaterdev AT gmail.com>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] cant connect to db
  • Date: Fri, 7 Apr 2006 23:00:35 -0400

Just to add a bit to this:

I did notice a few differences when running phpinfo relating to the mssql
section:

Working Code Non-Working Code
Library version 7 FreeTDS

The non working code's mssql section has more options also. It is php
5.1.2while the working php is
5.0.3.



Thanks.

On 4/7/06, blackwater dev <blackwaterdev AT gmail.com> wrote:
>
> I set up freetds on my home linux box and compiled it into php and it
> works fine. My freetds.conf file is in usr/local/etc/freetds.conf. I
> then had to set up my production server with my host and compiled
> freetds..it worked. I then compiled it into php and it worked fine as
> well. I then took the exact code from my dev box and moved it over and am
> having trouble hitting the mssql db. The mssql box is hosted remotely so it
> has nothing to do with it being local to my dev box. My freetds.conf file
> for the production server is in my home directory where I installed freetds
> from. I tried to make sure that was set up exactly like my conf file from
> the dev server.
>
> Any ideas as to why I would be getting this error:
>
> Warning: mssql_select_db(): Unable to select database: libland
>
> Again the mssql server is hosted somewhere else so both boxes should be
> able to hit it.
>
> Thanks.
>




Archive powered by MHonArc 2.6.24.

Top of Page