89325

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 class
65394 skanowanie0045 (8) enables leamers to use the language outside the “artificial” context of the
img027 (27) .,1 i. CECILY GLOWIK breaks up stockinette in the round with columns of dropped&nbs
portfolio settings image Images Settings These settings enable you to manage the images displayed in
Crochet Borders78 they retain their unique recogni żabie marki ngs to enable you to identify the sti
Monitoring General Database State and Workload The Database Home page enables you to monitor the Sta
To such a situation Economics brings the solvent of knowledge. It enables us to conceive the far-rea
Alloy Steel gear with unique heat treatment. Additionally, with gear grinding process-ing to get&nbs
Windows XP Professional FTP clients Windows XP Professional comes with three FTP clients. Selecting
15202 Obrazek69 ■ - STITCHED WITH LOVEMake a... drawstring bag Stępi TO CREATE the base make a
essent?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 us
img027 (27) .,1 i. CECILY GLOWIK breaks up stockinette in the round with columns of dropped&nbs
Now 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 memcached
Using the InnoDB memcached Plugin with Replication Because the InnoDB memcached daemon plugin suppor
How MySQL Deals with Constraints MySQL enables you to work both with transactional tables that permi

więcej podobnych podstron