Loading...
 
Skip to main content

History: MySQL replication

Source of version: 7 (current)

Copy to clipboard
            {syntax type="markdown"  editor="wysiwyg"} # Database replication


Replication was added in ((Tiki5)), thanks to ((dev:SUMO)).

This permits to send all write queries to master MySQL server, while the read requests can do to MySQL slave servers.

To use:

{CODE(caption="add to db/local.php")}$shadow_host = 'localhost';
$shadow_user = 'root';
$shadow_pass = 'foobar';
$shadow_dbs = 'tiki4_slave';
{CODE}

## See also

- ((MySQL))
- ((MariaDB))
- ((MySQL SSL))
- ((Database independence))



{DIV(class=titlebar)}alias{DIV}


- (alias(Database replication))
- (alias(Master and Slave MySQL))
- (alias(Master and Slave Database))