Oracle 5.0 Reference Manual page 2628

Table of Contents

Advertisement

Mysqlnd replication and load balancing plugin (mysqlnd_ms)
Here is a short explanation of the configuration directives that can be used.
array or object
master
array or object
slave
List of MySQL replication master servers. The list of either of the
to declare an anonymous list of servers or of
JSON type array
the
object. Please, see
JSON type
Setting at least one master server is mandatory. The plugin will
issue an error of type
E_ERROR
master server list for a configuration section. The fatal error may
read
(mysqlnd_ms) Section [master] doesn't exist
for host [name_of_a_config_section] in %s on line
%d.
A server is described with the host, port, socket, db, user,
and connect_flags. It is mandatory to provide at
password
a value for host. If any of the other values is not given, it will be
taken from the user API connect call, please, see also:
names example
[2604].
Table of server configuration keywords.
Keyword
Description
Database server host. This is a mandatory
host
setting. Failing to provide, will cause an error
of type
E_RECOVERABLE_ERROR
plugin tries to connect to the server. The error
message may read
find [host] in [%s] section in
config in %s on line
Database server TCP/IP port.
port
D atabase server Unix domain socket.
socket
Database (schemata).
db
MySQL database user.
user
MySQL database user password.
password
Connection flags.
connect_flags
The plugin supports using only one master server. An experimental
setting exists to enable multi-master support. The details are not
documented. The setting is meant for development only.
List of one or more MySQL replication slave servers. The syntax is
identical to setting master servers, please, see
details.
The plugin supports using one or more slave servers.
Setting a list of slave servers is mandatory. The plugin will report an
error of the type
E_ERROR
section. The fatal error message may read
Section [slave] doesn't exist for host [%s] in %s
%d. Note, that it is valid to use an empty slave server
on line
list. The error has been introduced to prevent accidently setting no
slaves by forgetting about the
still possible using an empty slave server list.
2608
above [2604]
if the user has failed to provide a
when the
(mysqlnd_ms) Cannot
%d.
master
if
is not given for a configuration
slave
(mysqlnd_ms)
setting. A master-only setup is
slave
for examples.
using section
Version
Since 1.1.0.
Since 1.1.0.
Since 1.1.0.
Since 1.1.0.
Since 1.1.0.
Since 1.1.0.
Since 1.1.0.
above for

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents