Before creating the users, the master will do a RESET MASTER to remove the automatically generated binlogs. The servers should now start a lot faster since they no longer need to replicate the large amounts of data that were in these generated binlogs.
4 lines
231 B
SQL
4 lines
231 B
SQL
CHANGE MASTER TO MASTER_HOST='127.0.0.1', MASTER_PORT=3000, MASTER_USER='maxuser', MASTER_PASSWORD='maxpwd', MASTER_LOG_POS=4, MASTER_LOG_FILE='binlog.000001', MASTER_CONNECT_RETRY=1;
|
|
START SLAVE;
|
|
SET GLOBAL max_connections=10000;
|