Forums

SQL Monitor
Making it work with DB Cache Reloaded? (2 posts)

  1. Arash
    Member
    Posted 1 year ago #

    Is there any way of making it work with DB Cache Reloaded?

    perhaps choosing another file name instead of db.php, maybe db2.php?

  2. Vladimir Kolesnikov
    Member
    Posted 1 year ago #

    perhaps choosing another file name instead of db.php, maybe db2.php?

    WordPress looks for wp-content/db.php to use as a replacement for wp-includes/wp-db.php.

    If I just rename db.php to db2.php WordPress won't see that file and won't use it.

    Since DB Cache Reloaded has its own copy of WordPress's wpdb class, it won't be easy to make these two work together: if SQLMon's database class inherits from DCR's wpdb then SQLMon will analyze every query - even those that won't be normally executed because DCR gets the result from the cache.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags