89325
Enable InnoDB Memcached Binary Log with
innodb_api_enable_binlog:
•To use the InnoDB memcached plugin withthe MySQL binary log, enablethe innodb_api_enable_binlog [1740] configuration option on the master server. This option can
only be set at server boot time. You must also enable the MySQL binary log on the master server
with the —log-bin [2052] option. You can add these options to your sen/er configuration file such
asmy.cnf, or on the mysqld command linę.
mysqld ... —log-bin —innodb_api_enable_binlog*l
• Then configure your master and slave server, as described in Section 16.1.1, “How to Set Up
Replication”.
• Use mysąldump to create a master data snapshot, and sync it to the slave server.
master shell: mysąldump --all-databases —lock-all-tables > dbdump.db slave shell: mysąl < dbdump.db
• On the master server, issue show master status to obtain the Master Binary Log Coordinates:
mysql> show master status;
• On the slave server, use a change master to statement to set up a slave server with the above
coordinates:
mysql> CHANGE MASTER TO MASTER_HOST='localhost',
MASTER_USER=1root',
MAST ER_PASSWORD='*,
MASTER_PORT = 13000,
MASTER_LOG_FILE =' 0. 000001,
MAST ER_LOG_POS-114;
• Then start the slave:
mysql> start slave;
If the error log prints output similar to the following, the slave is ready for replication:
111002 18:47:15 [Notę] Slave I/O thread: connected to master 'root01ocalhost:13000',
replication started in log '0.000001' at position 114
Wyszukiwarka
Podobne podstrony:
skanowanie0045 (8) enables leamers to use the language outside the “artificial” context of the class65394 skanowanie0045 (8) enables leamers to use the language outside the “artificial” context of theimg027 (27) .,1 i. CECILY GLOWIK breaks up stockinette in the round with columns of dropped ortfolio settings image Images Settings These settings enable you to manage the images displayed inCrochet Borders78 they retain their unique recogni żabie marki ngs to enable you to identify the stiMonitoring General Database State and Workload The Database Home page enables you to monitor the StaTo such a situation Economics brings the solvent of knowledge. It enables us to conceive the far-reaAlloy Steel gear with unique heat treatment. Additionally, with gear grinding process-ing to get&nbsWindows XP Professional FTP clients Windows XP Professional comes with three FTP clients. Selecting15202 Obrazek69 ■ - STITCHED WITH LOVEMake a... drawstring bag Stępi TO CREATE the base make aessent?rving?17 T O O i. S AND E Q U I P M £ N T -.26 A benchscrew in use with a błock of : being usimg027 (27) .,1 i. CECILY GLOWIK breaks up stockinette in the round with columns of dropped&nbsNow work with another student. Take turns to ask the questions then expand on the answer. in Ex. 2.Tuning Performance of the InnoDB memcached Plugin Because using InnoDB in combination with memcachedUsing the InnoDB memcached Plugin with Replication Because the InnoDB memcached daemon plugin supporHow MySQL Deals with Constraints MySQL enables you to work both with transactional tables that permiwięcej podobnych podstron