[wordpress插件] Database Read Replicas数据库只读副本

wordpress 插件 文章 2020-04-12 21:01 506 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

BETA: Extend WordPress with MySQL database read replica support for greater speed and scalability

BETA:使用MySQL数据库只读副本支持扩展WordPress,以提高速度和可扩展性

This is a first release beta, and should only be used at your own risk

这是第一个Beta版,使用时后果自负

安装步骤

    1. Set up your read replicas as per MySQL’s instructions
    2. 按照MySQL的说明设置只读副本

    3. Download database-read-replicas and database-read-replicas.php to wp-content/mu-plugins
    4. 将database-read-replicas和database-read-replicas.php下载到wp-content / mu-plugins

    5. Edit wp-config.php to add your read replicas:

    6. 编辑wp-config.php以添加您的只读副本:

      $read_replicas = array(‘readreplicahostname1′,’readreplicahostname2’);

    7. $ read_replicas = array('readreplicahostname1','readreplicahostname2');

    8. There is no need to activate this plugin
    9. 无需激活此插件

下载地址
https://downloads.wordpress.org/plugin/database-read-replicas.1.0.1.zip
-EOF-

AI助手支持GPT4.0