Setting the Master Configuration on the Slave
To set up the slave to communicate with the master for replication, you must tell the slave the
necessary connection information. To do this, execute the following statement on the slave, replacing
the option values with the actual values relevant to your system:
mysql CHANGE MASTER TO
- MASTER_HOST='master_host_name',
- MASTER_USER='replication_user_name',
- MASTER_PASSWORD='replication_password',
- MASTER_LOG_FILE='recorded_log_file_name',
- MASTER_LOG_POS=recorded_log_position;
... zobacz całą notatkę
Komentarze użytkowników (0)