Setting the Master Configuration on the Slave-opracowanie

Nasza ocena:

3
Wyświetleń: 287
Komentarze: 0
Notatek.pl

Pobierz ten dokument za darmo

Podgląd dokumentu
Setting the Master Configuration on the Slave-opracowanie - strona 1

Fragment notatki:

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)

Zaloguj się, aby dodać komentarz