php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3555 mysql backend errors are still visible
Submitted: 2000-02-21 16:24 UTC Modified: 2001-02-10 15:43 UTC
From: ad at ultra dot net Assigned:
Status: Closed Package: MySQL related
PHP Version: 3.0.13 OS: solaris 2.6
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: ad at ultra dot net
New email:
PHP Version: OS:

 

 [2000-02-21 16:24 UTC] ad at ultra dot net
according to http://www.php.net/manual/function.mysql-errno.php3
backend errors aren't supposed to issue warnings anymore.
but i am still getting them issued and returned to clients.

when in mysql_connect i specify wrong hostname or wrong
username i am getting mysql related warnings returned to
clients.

and also just a minute ago i saw backend errors from
your own mysql server returned to me when i was trying to
access the above url. here are some coppied from my browser
window:


Warning: MySQL Connection Failed: Too many connections in shared-manual.inc on line 8
Warning: Supplied argument is not a valid MySQL-Link resource in shared-manual.inc on line 10
Warning: Cannot add header information - headers already sent by (output started at shared-manual.inc:8) in shared-manual.inc on line 18
Warning: Cannot add header information - headers already sent by (output started at shared-manual.inc:8) in shared.inc on line 318
Warning: Cannot add header information - headers already sent by (output started at shared-manual.inc:8) in shared.inc on line 319
Warning: MySQL Connection Failed: Too many connections in shared-manual.inc on line 209
Warning: Supplied argument is not a valid MySQL-Link resource in shared-manual.inc on line 211


here is my configure line:
Configure command: ./configure
   '--with-apache=/local/src/apache_1.3.9' '--with-mysql=/shared'
        '--with-snmp=/shared' '--enable-ucd-snmp-hack'
     '--prefix=/shared/pkgs/php-3.0.13' '--sysconfdir=/local/etc'
       '--sharedstatedir=/local/var' '--localstatedir=/local/var'
              php3.ini file path is set to: /usr/local/lib


thanks,
alex

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-10 15:43 UTC] jimw@php.net
you can avoid this by prefixing your mysql calls with '@' (but this is also presumably fixed since 3.0.13).
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Sep 25 12:01:26 2024 UTC