Date: 11/08/00
- Next message: derick <email protected>: "[PHP-DEV] PHP 4.0 Bug #7693 Updated: QUERY_STRING set in apache env, but not set in enviroment"
- Previous message: André Langhorst: "Re: [PHP-DEV] eWeek article"
- In reply to: Mike Robinson: "RE: [PHP-DEV] Wierd CVS Build problem with libmysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi!
>>>>> "Mike" == Mike Robinson <mike <email protected>> writes:
Mike> Michael Widenius wrote:
>> Another issue:
>>
>> We would like to extend the mysql_connect() and mysql_pconnect() with
>> 2 extra (not required) arguments:
>>
>> path-to-config-file and group
>>
>> This would allow the php program to access all clients connect options
>> (like password, user and connect timeout) that the libmysqlclient library
>> can provide.
>>
>> If the first option is given (and is not the empty string), one
>> should call
>>
>> mysql_options(&mysql, MYSQL_READ_DEFAULT_FILE, path-to-config-file)
>>
>> If the second one is given one should call:
>>
>> mysql_options(&mysql, MYSQL_READ_DEFAULT_GROUP, group)
>>
>> For example:
>>
>> mysql_pconnect("host","db","","/tmp/my.cnf","php");
>>
>> Would read the [php] and [client] group sections from the
>> /tmp/my.cnf file.
>>
>> What do you think about the above?
Mike> IMHO, this looks useful.
Mike> Late last week I thought Zeev was asking for last minute
Mike> do or die stuff, with a view to putting out 4.0.4.
Mike> Is this going to affect that, time wise? Maybe it should wait
Mike> until after 4.0.4?
Ok; We will try to do a patch for after 4.0.4 is out.
Regards,
Monty
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: derick <email protected>: "[PHP-DEV] PHP 4.0 Bug #7693 Updated: QUERY_STRING set in apache env, but not set in enviroment"
- Previous message: André Langhorst: "Re: [PHP-DEV] eWeek article"
- In reply to: Mike Robinson: "RE: [PHP-DEV] Wierd CVS Build problem with libmysql"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

