header

Collapse

How to set up vBulletin when using replication with AWS Aurora MySQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Go to Thank You Onone
    Junior Member
    • 01.2021
    • 19
    • 1
    • 0

    Font Size
    #1

    How to set up vBulletin when using replication with AWS Aurora MySQL

    Go to Thank You
    We are using AWS Aurora MySQL, creating 2 instances, DB-Main and DB-Secondary (read replica) as shown below, but if we configure both DBs as shown in Case 1, errors occur in various areas such as searching and posting, and they do not work.

    On the other hand, in Case 2, if I leave $config[‘SlaveServer’][*] at its default value and configure only DB-Main, all functions work.



    How can I configure vBulletin to work with both DB-Main and DB-Secondary (read replica)?





    ## DB Service: AWS Aurora MySQL

    - DB-Instances:

    - DB-Main

    - DB-Secondary (read replica)





    ## Case1: core/includes/config.php



    $config['MasterServer']['servername'] = '[DB-Main]';

    $config['MasterServer']['port'] = 3306;

    $config['MasterServer']['username'] = 'dbuser';

    $config['MasterServer']['password'] = 'secret';

    $config['MasterServer']['usepconnect'] = 0;



    $config['SlaveServer']['servername'] = '[DB-Secondary]';

    $config['SlaveServer']['port'] = 3306;

    $config['SlaveServer']['username'] = 'dbuser';

    $config['SlaveServer']['password'] = 'secret';

    $config['SlaveServer']['usepconnect'] = 0;





    ## Case2: core/includes/config.php



    $config['MasterServer']['servername'] = '[DB-Main]';

    $config['MasterServer']['port'] = 3306;

    $config['MasterServer']['username'] = 'dbuser';

    $config['MasterServer']['password'] = 'secret';

    $config['MasterServer']['usepconnect'] = 0;



    $config['SlaveServer']['servername'] = ''

    $config['SlaveServer']['port'] = 3306;

    $config['SlaveServer']['username'] = '';

    $config['SlaveServer']['password'] = '';

    $config['SlaveServer']['usepconnect'] = 0;

    Devami...Go to Top of Post
    Similar Threads
X

Thread Information

Collapse

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

    Those who read this thread

    Collapse

    Members who have read this thread: 0

      Related Topics

      Collapse

      Topics Statistics Last Post
      Started by vB-Info, 1 week ago
      0 responses
      2 views
      0 reactions
      Last Post vB-Info
      by vB-Info
      Started by vB-Info, 1 week ago
      0 responses
      1 view
      0 reactions
      Last Post vB-Info
      by vB-Info
      Started by vB-Info, 13.03.24, 20:42
      0 responses
      21 views
      0 reactions
      Last Post vB-Info
      by vB-Info
      Working...
      😀
      😂
      🥰
      😘
      🤢
      😎
      😞
      😡
      👍
      👎

      AdBlock Detected

      Please Disable Adblock

      Please consider supporting us by disabling the ad blocker.

      I've Disabled AdBlock
      Home