From:             nefer at ib dot ru
Operating system: FreeBSD 4.8-CURRENT
PHP version:      4.3.3RC1
PHP Bug Type:     MySQL related
Bug description:  mysql_connect() are not pass a password

Description:
------------
I can't connect to MySQL server, cose mysql_connect() are not pass a
password to the server (i think).

mysql  Ver 11.18 Distrib 3.23.56, for portbld-freebsd4.8 (i386)


Reproduce code:
---------------
<?                                                                        
                                                                          

    mysql_connect('localhost', 'root', 'cccc');                           
                                                                     
    echo mysql_error();                                                   
                                                                          

?>                                                                        
                                                                          



Expected result:
----------------
Nothing (as no error)

Actual result:
--------------
Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)

-- 
Edit bug report at http://bugs.php.net/?id=24332&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24332&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24332&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24332&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24332&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24332&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24332&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24332&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24332&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24332&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24332&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24332&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24332&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24332&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24332&r=gnused

Reply via email to