MySQL Services and Utilities:
- Backup & recovery.
- Security.
- Replication.
- Cluster.
- Partitioning.
- Workbench.
MySQL Replication :
Replication enables data from one MySQL database server (the master) to be copied to one or more MySQL database servers (the slaves)
Replication is asynchronous by default
Example
[mysqld] server-id=3
Startup Options for Replication Slaves
Server ID On the master and each slave a unique replication ID in the range from 1 to 232 − 1Example
my.cnf file:[mysqld] server-id=3
--log-slave-updates| Property | Value |
|---|---|
| Command-Line Format | --log-slave-updates[={OFF|ON}] |
| System Variable | log_slave_updates |
| Scope | Global |
| Dynamic | No |
| Type | Boolean |
| Default Value | OFF |
Comments
Post a Comment