[ciapug] DB message "Changed database context to '[databasename]'"

Chris Hettinger ciapug@cialug.org
Fri May 27 00:52:48 CDT 2005


Wondering if anyone else has run into this and found a work around.

I am connecting to MSSQL 2000 with the FreeTDS driver and through the 
ADODB abstraction layer. On the occassional query the message "Changed 
database context to '[databasename]'" is echoed to the browser, halting 
the script.

After digging around on google a bit, I have found many questions 
referring to the message and then tonight this link:

http://support.microsoft.com/default.aspx?scid=KB;EN-US;197459

to the MS support document where it confirms what most were saying, that 
it is just a message not an error.

I'd like to supress these messages but I am not sure how to trap them. I 
am not sure how to implement the solutions that above page recommends 
within my PHP script.

Hopefully someone may have some input on this.

Thanks!

-ch



More information about the ciapug mailing list