ID:               23492
 User updated by:  dziugas dot baltrunas at m-1 dot lt
 Reported By:      dziugas dot baltrunas at m-1 dot lt
 Status:           Bogus
 Bug Type:         MySQL related
 Operating System: FreeBSD 4.8-RELEASE
 PHP Version:      4.3.1
 New Comment:

Thanks for comment, nefer. I still think that this bug is *more*
related with MySQL, if you're intersted, here is my report's thread:
http://bugs.mysql.com/?id=398
This bug is becoming a bottleneck for me, so your help in debugging
mysql and php itself would be *very* appreciate.


Previous Comments:
------------------------------------------------------------------------

[2003-06-25 06:17:28] nefer at ib dot ru

I have the same situation. But i use 3.23.56 mysql and 'mysql
-p<blah-blah-blah>' command works perfectly. Also... I get this bug
after upgrading from 4.3.2 to 4.3.3RC1 version. So i think this is a
PHP bug.

------------------------------------------------------------------------

[2003-05-08 09:12:55] [EMAIL PROTECTED]

Not a PHP bug then.

------------------------------------------------------------------------

[2003-05-08 09:11:40] dziugas dot baltrunas at m-1 dot lt

Sorry for this long story. I just realized that it's mysql bug itself:

<[EMAIL PROTECTED]: menulis>$ while true; do mysql -hdb1 -upublic -psecret
-e'quit'; done
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)
ERROR 1045: Access denied for user: '[EMAIL PROTECTED]' (Using
password: NO)

these errors appear occasionaly, each after 10-20 seconds. 

thank you guys anyway, I will try to report it to MySQL.

------------------------------------------------------------------------

[2003-05-08 09:01:33] dziugas dot baltrunas at m-1 dot lt

one more thing I've figured out:

372 Connect     Access denied for user: '[EMAIL PROTECTED]' (Using
password: YES)
373 Connect     [EMAIL PROTECTED] on

these are lines from mysql.log on the same time when php reported:

[08-May-2003 16:53:28] PHP Warning:  mysql_connect() [<a
href='http://www.php.net/function.mysql-connect'>functi
on.mysql-connect</a>]: Access denied for user: '[EMAIL PROTECTED]'
(Using password: NO) in /my/web/place/edit/config-global.php on line
232

------------------------------------------------------------------------

[2003-05-08 08:15:10] dziugas dot baltrunas at m-1 dot lt

Today I recompiled PHP with bundled mysql library as you recommended
but the problem still persists:
[08-May-2003 16:09:48] PHP Warning:  mysql_connect() [<a
href='http://www.php.net/function.mysql-connect'>function.mysql-connect</a>]:
Access denied for user: '[EMAIL PROTECTED]' (Using password: NO) in
/my/web/space/lib/mysql.php on line 10

here is info from "my error log":
/index.php:2003-05-08 16:09:48:db1.m-1.lan:public:secret - :Access
denied for user: '[EMAIL PROTECTED]' (Using password: NO)

here "public" is the username and "secret" is the password.

current phpinfo() about mysql:
Active Persistent Links  0  
Active Links  0  
Client API version  3.23.49  
MYSQL_MODULE_TYPE  builtin  
MYSQL_SOCKET  /tmp/mysql.sock  
MYSQL_INCLUDE  no value  
MYSQL_LIBS  no value

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/23492

-- 
Edit this bug report at http://bugs.php.net/?id=23492&edit=1

Reply via email to