On Tue, Feb 12, 2013 at 12:51 PM, Asbjørn Sannes <
asbjorn.san...@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/275>
>
> 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

Reply via email to