rfc:mysqlnd_localhost_override
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
rfc:mysqlnd_localhost_override [2013/02/12 11:25] – created asannes | rfc:mysqlnd_localhost_override [2013/02/12 11:33] – Update formatting and title asannes | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
* Version: 0.1 | * Version: 0.1 | ||
* Date: 2013-02-12 | * Date: 2013-02-12 | ||
Line 12: | Line 12: | ||
I have noted the following: | I have noted the following: | ||
- | * many populare php applications put in localhost as the default, making it work out of the box for most installations. | + | |
- | * many distributions patches the default of / | + | * many distributions patches the default of / |
- | * when splitting a webserver and mysql installation all the applications needs to be reconfigured to point at the external mysql server. | + | * when splitting a webserver and mysql installation all the applications needs to be reconfigured to point at the external mysql server. |
===== Proposal and Patch ===== | ===== Proposal and Patch ===== | ||
Line 24: | Line 24: | ||
It keeps backward compatability by falling back to current behaviour if mysqlnd.localhost_override is not set. | It keeps backward compatability by falling back to current behaviour if mysqlnd.localhost_override is not set. | ||
- | If the old behaviour were to be deprecated or phased out, a default value of unix:/// | + | If the old behaviour were to be deprecated or phased out, a default value of %%unix:/// |
===== Documentation ===== | ===== Documentation ===== | ||
If this extension of mysqlnd were to be accepted and merged, the documentation must be updated to include the new option and its syntax. | If this extension of mysqlnd were to be accepted and merged, the documentation must be updated to include the new option and its syntax. | ||
- | Example of usage: | + | |
+ | Example of usage:< | ||
mysqlnd.localhost_override = unix:/// | mysqlnd.localhost_override = unix:/// | ||
mysqlnd.localhost_override = tcp:// | mysqlnd.localhost_override = tcp:// | ||
+ | </ | ||
===== Changelog ===== | ===== Changelog ===== |
rfc/mysqlnd_localhost_override.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1