When setting up replication with existing data, transfer the snapshot from the master to the slave before starting replication.
Run the command below to import a database snapshot:
Code Block | ||
---|---|---|
| ||
> mysql -u root -p DualShield < DualShield.sql |
When setting up replication with existing data, transfer the snapshot from the master to the slave before starting replication.
Run the command below to import a database snapshot:
Code Block | ||
---|---|---|
| ||
> mysql -u root -p DualShield < DualShield.sql |