Re: RFC mysqlnd.localhost_override
| From: | Ferenc Kovacs | Date: | Tue, 12 Feb 2013 12:22:29 +0000 |
| Subject: | Re: RFC mysqlnd.localhost_override | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-65775@lists.php.net to get a copy of this message | ||
On Tue, Feb 12, 2013 at 12:51 PM, Asbjørn Sannes <
asbjorn.sannes@interhost.no> wrote:
>
>
> https://wiki.php.net/rfc/**mysqlnd_localhost_override<https://wiki.php.net/rfc/mysqlnd_localhost_override>
>
> I propose we introduce a new option called mysqlnd.localhost_override
> which enables a system administrator or php distributor to configure how
> localhost should be overridden.
>
> I believe it would make life easier on system administrators and
> distributions with varying defaults.
>
> Working patch at:
>
> https://github.com/php/php-**src/pull/275<https://github.com/php/php-src/pull/275Jé-å}
> ÙôÑWz\ ý>
>
> It is backward compatible by falling back to earlier behaviour if
> mysqlnd.localhost_override is not set
>
> Any comments welcome.
Hi,
I didn't tested it, but wouldn't mysql.default_host and sql.safe_mode
already provide a way to override the connect values if required?
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu