Re: [mssql_connect error] Changed database context to..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, August 23, 2007 6:26 pm, Liz Kim wrote:
> Did anyone else run into this problem?
>
> PHP fails to connect to MSSQL7 with mssql_connect with the message:
> Changed database context to '<DB_NAME>'.
>
> I've been searching around but did not find a good solution for PHP.
> I did find this link:
> http://support.microsoft.com/default.aspx?scid=KB;EN-US;197459
>
> But is not too helpful..
>
> I've tried:
> setting the severity value higher with
> mssql_min_error_severity(4);
> mssql_min_message_severity(4);
> but these did not work either..
>
> Any ideas?

Perhaps the connection is fine and you just need to ignore those
particular messages?

You may also want to just try out the Sybase driver...

I've generally found it to be better/faster/simple than the MS driver,
on the (thankfully) few occasions I had to use SQL Server.

-- 
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some indie artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux