php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12592 Warning message when connect to Sybase Database
Submitted: 2001-08-06 07:54 UTC Modified: 2001-08-07 00:12 UTC
From: rkdhiman at lycosasia dot com Assigned:
Status: Not a bug Package: Sybase (dblib) related
PHP Version: 4.0.6 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: rkdhiman at lycosasia dot com
New email:
PHP Version: OS:

 

 [2001-08-06 07:54 UTC] rkdhiman at lycosasia dot com
When I connect to Sybase Database in PHP script, the following Warning message comes in my Page generated through PHP i.e. 

Warning: Sybase: Server message: Changed database context to 'rdhiman'. (severity 10, procedure N/A) in c:\inetpub\webpub\guestfatch.php on line 8


After printing this warning message, everything is going fine. 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-06 23:43 UTC] rkdhiman at lycosasia dot com
Warning message comes in HTML Pages when connect to Sybase Database or Change Database context like - 

Warning: Sybase: Server message: Changed database context to 'rdhiman'. (severity 10, procedure N/A) in c:\inetpub\webpub\guestfatch.php on line 10

 [2001-08-07 00:12 UTC] lyric@php.net
Normal - Sybase generates the warning whenever you change databases. Suppress the message by prefixing sybase_connect with an @ sign (still check the result!) thusly :

$dbh = @sybase_connect(...);


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 21:01:32 2025 UTC