Announcement

Collapse
No announcement yet.

steps to set up slave database

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • mk132
    replied
    Edit: I didn't see Colin's message. That looks like what I need!
    Last edited by mk132; Tue 17 Apr '07, 2:58pm.

    Leave a comment:


  • Colin F
    replied
    Edit this line in your config.php file:
    $config['Database']['dbtype'] = 'mysql';

    to:
    $config['Database']['dbtype'] = 'mysql_slave';

    Leave a comment:


  • Floris
    replied
    Master == read/write
    Slave = read

    Leave a comment:


  • mk132
    started a topic steps to set up slave database

    steps to set up slave database

    I've read too many threads and can't find the answer...

    1. I use mySQL replication and have the database replicated to another server.
    2. I have added the correct values to the "$config['SlaveServer']..." lines of config.php.
    Then:
    Nothing changes. I don't see queries going to the slave.

    Is there a step 3?
    I see a reference to changing a class name in some thread here, but I'm quite confused.

    Thanks.

Related Topics

Collapse

Working...
X