ID:               24332
 Comment by:       webmaster at ragnarokonline dot de
 Reported By:      nefer at ib dot ru
 Status:           Bogus
 Bug Type:         MySQL related
 Operating System: FreeBSD 4.8-CURRENT
 PHP Version:      4.3.3RC1
 New Comment:

> (Using password: NO)
This means, no password has been set for the account

mysql_connect('localhost', 'root');

should work, then

Regards,
  Christian Stadler


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

[2003-06-25 07:21:07] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

Works fine, you must be doing something wrong.

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

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

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 this bug report at http://bugs.php.net/?id=24332&edit=1

Reply via email to