• Resolved ds123

    (@ds123)


    Frederick can you tell me how i should configure w3 total cache to work well with Hyper DB that i’m going to install to use master slave mysql servers? thanks !

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Frederick Townes

    (@fredericktownes)

    Unfortunately they are not compatible.

    Thread Starter ds123

    (@ds123)

    thanks for the reply …. can you please offer suggestion then for using master – slave mysql? can i just disable database caching in w3 ? or is there another solution to manage wordpress load balancing other than hyperdb?

    i’m not a programmer so i can’t do any heavy lifting code wise ..thanks again for your help i hope to find a way to keep using your plugin and master slave mysql

    any recommendations would be very helpful…i have 2 servers a master serving everything and then a mysql slave server just serving database reads … i am running latest wordpress, buddypress and w3 total cache

    Thread Starter ds123

    (@ds123)

    frederick i am reading about Ryan’s Memcached Object Cache …. my question is i am loving the cdn on your plugin …will i lose this maxcdn if i try to run batcache? or how can i use maxcdn/memcached object cache/then page caching?

    Thanks for the info, Frederick. I just ran into this configuration challenge today. I see from searching around that both plugins require use of different custom /wp-content/db.php files which can’t co-exist by default.

    Thread Starter ds123

    (@ds123)

    Frederick …. what about this solution below to using w3tc with hyperdb or multi-db? can i do this and still get to use your plugin for page caching and cdn…. what about the database caching should i leave that off?

    ……found this post
    I should mention that there is an alternative to being able to use this plugin.
    /w3-total-cache/lib/W3/Plugin/DbCache.php
    change lines 126, 128 and 146. Rename db.php to db-cache.php
    /w3-total-cache/lib/W3/Plugin/TotalCache.php
    change line 2562. Rename db.php to db-cache.php
    /w3-total-cache/wp-content/
    Rename db.php to db-cache.php
    When this is done, upload the files to your server, activate the plugin, and the db-cache.php file will be created and the plugin will be looking at this file instead of db.php.
    The only downside is that you will need to do a manual upgrade when updates are loaded or it will over ride your changes and then over ride your current db.php file for multi-db.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HyperDB and W3 Total Cache’ is closed to new replies.