[mssql_connect error] Changed database context to..

This is a discussion on [mssql_connect error] Changed database context to.. within the PHP General forums, part of the PHP Programming Forums category; Did anyone else run into this problem? PHP fails to connect to MSSQL7 with mssql_connect with the message: Changed database ...


Go Back   Usenet Forums > PHP Programming Forums > PHP General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-24-2007
Liz Kim
 
Posts: n/a
Default [mssql_connect error] Changed database context to..

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...B;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?

Thank you!!!

LK

Reply With Quote
  #2 (permalink)  
Old 08-27-2007
Richard Lynch
 
Posts: n/a
Default Re: [PHP] [mssql_connect error] Changed database context to..

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...B;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?
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 11:38 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0