Oracle 5.0 Reference Manual page 2622

Table of Contents

Advertisement

mysqlnd_ms.ini_file
mysqlnd_ms.config_file
string
mysqlnd_ms.collect_statistics
integer
mysqlnd_ms.multi_master
integer
mysqlnd_ms.disable_rw_split
integer
20.7.6.6.4. Plugin configuration file (>=1.1.x)
Copyright 1997-2012 the PHP Documentation Group. [2230]
The plugin uses its own configuration file. The configuration file holds information about the MySQL
replication master server, the MySQL replication slave servers, the server pick (load balancing) policy,
the failover strategy, and the use of lazy connections.
The plugin loads its configuration file at the beginning of a web request. It is then cached in memory
and used for the duration of the web request. This way, there is no need to restart PHP after deploying
the configuration file. Configuration file changes will become active almost instantly.
Mysqlnd replication and load balancing plugin (mysqlnd_ms)
at this early stage in an extensions life cycle may not be shown
properly to the user. Thus, the plugin buffers the errors, if any,
and additionally displays them when establishing a connection to
MySQL. By default a buffered startup error will emit an error of type
E_WARNING. If
E_RECOVERABLE_ERROR.
Please, see also
string
Plugin specific configuration file. This setting has been renamed to
mysqlnd_ms.config_file
Plugin specific configuration file. This setting superseeds
mysqlnd_ms.ini_file
Enables or disables the collection of statistics. The collection of
statistics is disabled by default for performance reasons. Statistics
are returned by the function mysqlnd_ms_get_stats.
Enables or disables support of MySQL multi master replication
setups. Please, see also
Enables or disables built-in read write splitting.
Controls whether load balancing and lazy connection functionality
can be used independently of read write splitting. If read write
splitting is disabled, only servers from the master list will be used for
statement execution. All configured slave servers will be ignored.
The SQL hint
found, the statement will be redirected to a master.
Disabling read write splitting impacts the return value of
mysqlnd_ms_query_is_select. The function will no longer
propose query execution on slave servers.
Changelog: Feature was added in PECL/mysqlnd_ms 1.1.0-beta
The below description applies to PECL/mysqlnd_ms >= 1.1.0-beta. It is not valid
for prior versions.
force_config_usage
configuration file debugging notes
in version 1.4.0.
since 1.4.0.
supported
MYSQLND_MS_USE_SLAVE
Multiple master servers
Setting
mysqlnd_ms.multi_master=1
allows the plugin to use multiple master
servers, instead of only the first master
server of the master list.
Please, see also
2602
is set, the error type used is
[2606].
clusters.
will not be recognized. If
supported
clusters.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents