ID: 25253
Updated by: [EMAIL PROTECTED]
Reported By: uhlar at fantomas dot sk
-Status: Open
+Status: Bogus
Bug Type: Feature/Change Request
Operating System: any
PHP Version: 4.3.3
New Comment:
If (mysql)user is not specified (NULL) the current (system) user will
be
assumed.
Changing this to a default value would break BC.
Previous Comments:
------------------------------------------------------------------------
[2003-08-26 11:51:54] uhlar at fantomas dot sk
Description:
------------
mysql_connect() and mysql_pconnect(), when called without arguments,
use default values mysql.detault_* variables to detect what
host/username/password to use. But they do so only if they are calles
withou any argument. Could be this enhanced to use default variables
whenever NULL is used as value?
e.g. mysql_connect("new.host.name", NULL, NULL, MYSQL_CLIENT_COMPRESS)
would take mysql.default_user and mysql.default_password as username
and password.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25253&edit=1